package com.sg.service.biz.component.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.base.component.req.QuerySemanticEngineDetailReq;
import com.sg.dto.base.component.req.QuerySemanticEngineListReq;
import com.sg.dto.biz.component.req.*;
import com.sg.dto.biz.component.res.*;
import com.sg.entity.OmsTemplateSemanticEngine;
import com.sg.service.base.component.MOmsMessageLocationRemindService;
import com.sg.service.base.component.MOmsMessageService;
import com.sg.service.base.component.MOmsTemplateSemanticEngineService;
import com.sg.service.base.component.MOmsUnstructuredDataService;
import com.sg.service.biz.component.ConfSchemeService;
import com.sg.service.biz.component.InterfaceModeService;
import com.sg.service.biz.component.MessageService;
import com.sg.service.biz.component.nb.NbTemplateEngine;
import com.sg.common.exception.Assert;
import com.wicket.okrcomponent.common.exception.BizException;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class TemplateEngineServiceImpl
        implements com.wicket.okrcomponent.biz.service.TemplateEngineService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    private MOmsTemplateSemanticEngineService mOmsTemplateSemanticEngineService;
    // @Resource
    // private MSpecMethordTableService mSpecMethordTableService;
    @Resource
    private NbTemplateEngine nbTemplateEngine;
    @Resource
    private MOmsUnstructuredDataService mOmsUnstructuredDataService;
    @Resource
    private ConfSchemeService confSchemeService;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private MOmsMessageLocationRemindService mOmsMessageLocationRemindService;
    @Resource
    private MOmsMessageService mOmsMessageService;
    @Resource
    private MessageService messageService;
//@Resource
    //private MCustomFields4Service mCustomFields4Service;
//@Resource
    //private MMmmShellService mMmmShellService;
//@Resource
    //private MCustomFieldsService mCustomFieldsService;
//@Resource
    //private MCustomFields2Service mCustomFields2Service;
//@Resource
    //private MOmsCycleService mOmsCycleService;

    /**
     * D2-8查询语义引擎详情[1376]
     * gen by moon at 10/28/2022, 11:00:28 PM
     */
    @Trace(operationName = "D2-8查询语义引擎详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySemanticEngineDetailRespDto querySemanticEngineDetail(QuerySemanticEngineDetailReqDto reqDto) {


        OmsTemplateSemanticEngine omsTemplateSemanticEngine_1 = null;
//步骤0: 2-8-1查语义引擎详情 - querySemanticEngineDetail
        OmsTemplateSemanticEngine omsTemplateSemanticEngine = null;
        QuerySemanticEngineDetailReq querySemanticEngineDetailReq = new QuerySemanticEngineDetailReq();
        if (reqDto != null) {
            querySemanticEngineDetailReq.setTemplateSemanticEngineId(reqDto.getTemplateSemanticEngineId());//SimpleFieldAssign//sourceId:32186_1
            querySemanticEngineDetailReq.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:204558_1
        }

        /*2-8-1查语义引擎详情[1186]   */

        omsTemplateSemanticEngine = mOmsTemplateSemanticEngineService.querySemanticEngineDetail(querySemanticEngineDetailReq);


        omsTemplateSemanticEngine_1 = omsTemplateSemanticEngine;

        QuerySemanticEngineDetailRespDto retData = new QuerySemanticEngineDetailRespDto();
        if (omsTemplateSemanticEngine_1 != null) {
            retData.setTemplateSemanticEngineId(omsTemplateSemanticEngine_1.getTemplateSemanticEngineId());//SimpleFieldAssign//sourceId:32188_1
            retData.setTemplateSemanticEngineCode(omsTemplateSemanticEngine_1.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:32189_1
            retData.setEmplateEngineName(omsTemplateSemanticEngine_1.getEmplateEngineName());//SimpleFieldAssign//sourceId:32190_1
            retData.setTemplateEngineTemplate(omsTemplateSemanticEngine_1.getTemplateEngineTemplate());//SimpleFieldAssign//sourceId:32191_1
            retData.setBehaviorTypeCode(omsTemplateSemanticEngine_1.getBehaviorTypeCode());//SimpleFieldAssign//sourceId:32192_1
            retData.setEntityId(omsTemplateSemanticEngine_1.getEntityId());//SimpleFieldAssign//sourceId:32194_1
            retData.setBizSceneId(omsTemplateSemanticEngine_1.getBizSceneId());//SimpleFieldAssign//sourceId:32500_1
            retData.setSampleContent(omsTemplateSemanticEngine_1.getSampleContent());//SimpleFieldAssign//sourceId:35131_1
            retData.setPictureSample(omsTemplateSemanticEngine_1.getPictureSample());//SimpleFieldAssign//sourceId:35132_1
            retData.setSubjectLifeCycle(omsTemplateSemanticEngine_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:32195_1
            retData.setOperationInductionId(omsTemplateSemanticEngine_1.getOperationInductionId());//SimpleFieldAssign//sourceId:32197_1
            retData.setOperateTime(omsTemplateSemanticEngine_1.getOperateTime());//SimpleFieldAssign//sourceId:32198_1
            retData.setIsArchive(omsTemplateSemanticEngine_1.getIsArchive());//SimpleFieldAssign//sourceId:35133_1
        }


        return retData;
    }

    /**
     * D2-8查语义引擎列表[1370]
     * gen by moon at 11/1/2022, 7:45:44 AM
     */
    @Trace(operationName = "D2-8查语义引擎列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySemanticEngineListRespDto querySemanticEngineList(QuerySemanticEngineListReqDto reqDto) {


        List<OmsTemplateSemanticEngine> listOmsTemplateSemanticEngine_1 = new ArrayList<>();
//步骤0: 2-8-1查语义引擎列表 - querySemanticEngineList
        List<OmsTemplateSemanticEngine> listOmsTemplateSemanticEngine = new ArrayList<>();
        QuerySemanticEngineListReq querySemanticEngineListReq = new QuerySemanticEngineListReq();
        if (reqDto != null) {
            querySemanticEngineListReq.setEmplateEngineName(reqDto.getEmplateEngineName());//SimpleFieldAssign//sourceId:32519_1
            querySemanticEngineListReq.setBehaviorTypeCode(reqDto.getBehaviorTypeCode());//SimpleFieldAssign//sourceId:32520_1
            querySemanticEngineListReq.setBizSceneId(reqDto.getBizSceneId());//SimpleFieldAssign//sourceId:32522_1
            querySemanticEngineListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:32523_1
            querySemanticEngineListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:32524_1
        }

        /*2-8-1查语义引擎列表[1366]   */

        listOmsTemplateSemanticEngine = mOmsTemplateSemanticEngineService.querySemanticEngineList(querySemanticEngineListReq);


        listOmsTemplateSemanticEngine_1 = listOmsTemplateSemanticEngine;

        QuerySemanticEngineListRespDto retData = new QuerySemanticEngineListRespDto();
        retData.setSemanticEngineList(listOmsTemplateSemanticEngine_1.stream().map(item -> BeanUtil.toBean(item, SemanticEngineDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:32234_1


        return retData;
    }

    /**
     * D2-8修改语义引擎[1369]
     * gen by moon at 8/17/2022, 7:58:51 PM
     */
    @Trace(operationName = "D2-8修改语义引擎")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public UpdateSemanticEngineRespDto updateSemanticEngine(UpdateSemanticEngineReqDto reqDto) {


        //步骤0: 2-8-1修改语义引擎 - updateSemanticEngine
        boolean bOOLEAN;
        OmsTemplateSemanticEngine omsTemplateSemanticEngine = new OmsTemplateSemanticEngine();
        if (reqDto != null) {
            omsTemplateSemanticEngine.setTemplateSemanticEngineId(reqDto.getTemplateSemanticEngineId());//sourceId:32075_1
            omsTemplateSemanticEngine.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//sourceId:32076_1
            omsTemplateSemanticEngine.setEmplateEngineName(reqDto.getEmplateEngineName());//sourceId:32077_1
            omsTemplateSemanticEngine.setTemplateEngineTemplate(reqDto.getTemplateEngineTemplate());//sourceId:32078_1
            omsTemplateSemanticEngine.setBehaviorTypeCode(reqDto.getBehaviorTypeCode());//sourceId:35184_1
            omsTemplateSemanticEngine.setEngineTypeCode(reqDto.getEngineTypeCode());//sourceId:35185_1
            omsTemplateSemanticEngine.setEntityId(reqDto.getEntityId());//sourceId:35186_1
            omsTemplateSemanticEngine.setBizSceneId(reqDto.getBizSceneId());//sourceId:35187_1
            omsTemplateSemanticEngine.setSampleContent(reqDto.getSampleContent());//sourceId:35188_1
            omsTemplateSemanticEngine.setPictureSample(reqDto.getPictureSample());//sourceId:35189_1
            omsTemplateSemanticEngine.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:32081_1
        }

        /*2-8-1修改语义引擎[1364]   */

        bOOLEAN = mOmsTemplateSemanticEngineService.updateSemanticEngine(omsTemplateSemanticEngine);


        UpdateSemanticEngineRespDto retData = new UpdateSemanticEngineRespDto();


        return retData;
    }

    /**
     * D2-8新增语义引擎[1367]
     * gen by moon at 2022/7/3 下午5:12:49
     */
    @Trace(operationName = "D2-8新增语义引擎")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddSemanticEngineRespDto addSemanticEngine(AddSemanticEngineReqDto reqDto) {


        String string_1 = null;
//步骤0: 2-8-1新增语义引擎 - addSemanticEngine
        String string = null;
        OmsTemplateSemanticEngine omsTemplateSemanticEngine = new OmsTemplateSemanticEngine();
        if (reqDto != null) {
            omsTemplateSemanticEngine.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//sourceId:32066_1
            omsTemplateSemanticEngine.setEmplateEngineName(reqDto.getEmplateEngineName());//sourceId:32067_1
            omsTemplateSemanticEngine.setTemplateEngineTemplate(reqDto.getTemplateEngineTemplate());//sourceId:32068_1
            omsTemplateSemanticEngine.setBehaviorTypeCode(reqDto.getBehaviorTypeCode());//sourceId:32069_1
            omsTemplateSemanticEngine.setEngineTypeCode(reqDto.getEngineTypeCode());//sourceId:35162_1
            omsTemplateSemanticEngine.setEntityId(reqDto.getEntityId());//sourceId:35174_1
            omsTemplateSemanticEngine.setBizSceneId(reqDto.getBizSceneId());//sourceId:32494_1
            omsTemplateSemanticEngine.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//sourceId:32072_1
            omsTemplateSemanticEngine.setSampleContent(reqDto.getSampleContent());//sourceId:35157_1
            omsTemplateSemanticEngine.setPictureSample(reqDto.getPictureSample());//sourceId:35158_1
        }

        /*2-8-1新增语义引擎[1363]   */
        string = mOmsTemplateSemanticEngineService.addSemanticEngine(omsTemplateSemanticEngine);

        string_1 = string;

        AddSemanticEngineRespDto retData = new AddSemanticEngineRespDto();
        if (string_1 != null) {
            retData.setTemplateSemanticEngineId(string_1);//sourceId:32095_1
        }


        return retData;
    }

    /**
     * D2生成时间周期等语义内容服务(公共)[5030]
     * gen by moon at 8/2/2023, 11:40:34 PM
     */
    @Trace(operationName = "D2生成时间周期等语义内容服务(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceCom(GenerateTimeCycleEtcSemanticInstanceComReqDto reqDto) {


        QueryOutputParametersDetailRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("GENERATE_TARGET_CYCLE_NAME"))) {
            //if(D2生成时间周期等语义实例(公共).模板引擎标识 等于 目标周期名称（选用）)  20315

//ModelCode: generateSemanticInstance
            GenerateTargetCycleNameRespDto generateSemanticInstanceRes = null;
            GenerateTargetCycleNameReqDto generateSemanticInstanceReq = new GenerateTargetCycleNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:396135_1_20316
                generateSemanticInstanceReq.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:396136_1_20316
            }

            /*M2生成语义内容服务（目标周期名称）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getCycleStandardName(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（目标周期名称）-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq.getTargetContentName(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（目标周期名称）-目标内容名称不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.generateTargetCycleName(generateSemanticInstanceReq);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes = null;
            QueryOutputParametersDetailReqDto receptionServiceReq = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq.setObjectName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38226
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("GENERATE_TOTAL_CYCLE_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 周期名称（子周期=年）)  20366

//ModelCode: generateSemanticInstance
            GenerateTotalCycleNameRespDto generateSemanticInstanceRes_2 = null;
            GenerateTotalCycleNameReqDto generateSemanticInstanceReq_1 = new GenerateTotalCycleNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setCycleStartName(reqDto.getCycleStartName());//SimpleFieldAssign//sourceId:396159_1_20367
                generateSemanticInstanceReq_1.setCycleEndName(reqDto.getCycleEndName());//SimpleFieldAssign//sourceId:396160_1_20367
            }

            /*M2生成语义内容服务（周期名称）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getCycleStartName(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（周期名称）-开始周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_1.getCycleEndName(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（周期名称）-结束周期名称不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.generateTotalCycleName(generateSemanticInstanceReq_1);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_2 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_1 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_2 != null) {
                receptionServiceReq_1.setObjectName(generateSemanticInstanceRes_2.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38227
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_2 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("GENERATE_IRREGULAR_CYCLE_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 不规则周期名称)  20365

//ModelCode: generateSemanticInstance
            GenerateIrregularCycleNameRespDto generateSemanticInstanceRes_4 = null;
            GenerateIrregularCycleNameReqDto generateSemanticInstanceReq_2 = new GenerateIrregularCycleNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:397948_1_20370
                generateSemanticInstanceReq_2.setCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:397949_1_20370
            }

            /*M2生成语义内容服务（不规则周期名称）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_2.getCycleStartTime(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（不规则周期名称）-周期开始时间不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_2.getCycleEndTime(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（不规则周期名称）-周期结束时间不能为空", false);
            generateSemanticInstanceRes_4 = nbTemplateEngine.generateIrregularCycleName(generateSemanticInstanceReq_2);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_3 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_2 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_4 != null) {
                receptionServiceReq_2.setObjectName(generateSemanticInstanceRes_4.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38228
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_3 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_2);


            receptionServiceRes_1 = receptionServiceRes_3;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_IRREGULAR_CYCLE_TYPE_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 不规则周期类型名称（选用）)  20364

//ModelCode: generateSemanticInstance
            CreateIrregularCycleTypeNameRespDto generateSemanticInstanceRes_6 = null;
            CreateIrregularCycleTypeNameReqDto generateSemanticInstanceReq_3 = new CreateIrregularCycleTypeNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_3.setAcount(reqDto.getAcount());//SimpleFieldAssign//sourceId:399286_1_20372
                generateSemanticInstanceReq_3.setCycleTypeName(reqDto.getCycleTypeName());//SimpleFieldAssign//sourceId:399289_1_20372
            }

            /*M2生成语义内容服务（不规则周期类型名称）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_3.getAcount(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（不规则周期类型名称）-数量不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_3.getCycleTypeName(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（不规则周期类型名称）-周期类型名称不能为空", false);
            generateSemanticInstanceRes_6 = nbTemplateEngine.createIrregularCycleTypeName(generateSemanticInstanceReq_3);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_4 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_3 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_6 != null) {
                receptionServiceReq_3.setObjectName(generateSemanticInstanceRes_6.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38229
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_3.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_4 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_3);


            receptionServiceRes_1 = receptionServiceRes_4;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_CYCLE_TYPE_CODE"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 周期类型标识（选用）)  20363

//ModelCode: generateSemanticInstance
            CreateCycleTypeCodeRespDto generateSemanticInstanceRes_8 = null;
            CreateCycleTypeCodeReqDto generateSemanticInstanceReq_4 = new CreateCycleTypeCodeReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_4.setAcount(reqDto.getAcount());//SimpleFieldAssign//sourceId:399293_1_20373
                generateSemanticInstanceReq_4.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:399294_1_20373
            }

            /*M2生成语义内容服务（不规则周期类型标识）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_4.getAcount(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（不规则周期类型标识）-数量不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_4.getCycleTypeCode(), "D2生成时间周期等语义内容服务(公共)-M2生成语义内容服务（不规则周期类型标识）-周期类型标识不能为空", false);
            generateSemanticInstanceRes_8 = nbTemplateEngine.createCycleTypeCode(generateSemanticInstanceReq_4);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_5 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_4 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_8 != null) {
                receptionServiceReq_4.setObjectName(generateSemanticInstanceRes_8.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38230
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_4.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_5 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_4);


            receptionServiceRes_1 = receptionServiceRes_5;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("TARGET_CYCLE_CHECK_IRRATIONAL_STORY_TIPS"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 目标周期校验不合理故事提示)  22125

//ModelCode: generateSemanticInstance
            GenerateSemanticContentServiceRespDto generateSemanticInstanceRes_10 = null;
            GenerateSemanticContentServiceReqDto generateSemanticInstanceReq_5 = new GenerateSemanticContentServiceReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_5.setCyclelAlias(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:443562_1_22126
            }

            /*M2生成校验目标周期不合理故事提示[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_5.getCyclelAlias(), "D2生成时间周期等语义内容服务(公共)-M2生成校验目标周期不合理故事提示-目标周期简称不能为空", false);
            generateSemanticInstanceRes_10 = nbTemplateEngine.generateSemanticContentService(generateSemanticInstanceReq_5);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_6 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_5 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_10 != null) {
                receptionServiceReq_5.setObjectName(generateSemanticInstanceRes_10.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38231
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_5.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_6 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_5);


            receptionServiceRes_1 = receptionServiceRes_6;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_PARTICIPATOR_ABNORMAL_STORY_TIPS"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 参与者新增异常提示故事)  22210

//ModelCode: generateSemanticInstance
            CreateParticipatorAbnormalStoryTipsRespDto generateSemanticInstanceRes_12 = null;
            CreateParticipatorAbnormalStoryTipsReqDto generateSemanticInstanceReq_6 = new CreateParticipatorAbnormalStoryTipsReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_6.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:445862_1_22211
                generateSemanticInstanceReq_6.setVirtualOrganizationPosition(reqDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:445863_1_22211
            }

            /*M2生成参与者新增异常提示故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_6.getIdCardName(), "D2生成时间周期等语义内容服务(公共)-M2生成参与者新增异常提示故事-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_6.getVirtualOrganizationPosition(), "D2生成时间周期等语义内容服务(公共)-M2生成参与者新增异常提示故事-组内职务名称不能为空", false);
            generateSemanticInstanceRes_12 = nbTemplateEngine.createParticipatorAbnormalStoryTips(generateSemanticInstanceReq_6);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_7 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_6 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_12 != null) {
                receptionServiceReq_6.setObjectName(generateSemanticInstanceRes_12.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38232
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_6.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_7 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_6);


            receptionServiceRes_1 = receptionServiceRes_7;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("SUBJECT_CHANGE_CONT"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 主体变更内容（选用）)  23701

//ModelCode: generateSemanticInstance
            SubjectChangeContRespDto generateSemanticInstanceRes_14 = null;
            SubjectChangeContReqDto generateSemanticInstanceReq_7 = new SubjectChangeContReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_7.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:486823_1_23702
                generateSemanticInstanceReq_7.setReviseBehaviorName(reqDto.getReviseBehaviorName());//SimpleFieldAssign//sourceId:486824_1_23702
                generateSemanticInstanceReq_7.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:486825_1_23702
            }

            /*M2-生成变更字段语义故事内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_7.getReviseSubjectContent(), "D2生成时间周期等语义内容服务(公共)-M2-生成变更字段语义故事内容-修订主体内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_7.getReviseBehaviorName(), "D2生成时间周期等语义内容服务(公共)-M2-生成变更字段语义故事内容-修订行为名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_7.getColumnContent(), "D2生成时间周期等语义内容服务(公共)-M2-生成变更字段语义故事内容-变更后字段中文内容不能为空", false);
            generateSemanticInstanceRes_14 = nbTemplateEngine.subjectChangeCont(generateSemanticInstanceReq_7);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_8 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_7 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_14 != null) {
                receptionServiceReq_7.setObjectName(generateSemanticInstanceRes_14.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38233
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_7.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_8 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_7);


            receptionServiceRes_1 = receptionServiceRes_8;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_CYCLE_UPDATE_SLICE"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 生成工作周期更新切片)  36772

//ModelCode: generateSemanticInstance
            WorkCycleUpdateSliceRespDto generateSemanticInstanceRes_16 = null;
            WorkCycleUpdateSliceReqDto generateSemanticInstanceReq_8 = new WorkCycleUpdateSliceReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_8.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:862058_1_36773
                generateSemanticInstanceReq_8.setCustomField1(reqDto.getCustomField1());//SimpleFieldAssign//sourceId:822785_1_36773
                generateSemanticInstanceReq_8.setCustomField2(reqDto.getCustomField2());//SimpleFieldAssign//sourceId:822786_1_36773
                generateSemanticInstanceReq_8.setCustomField3(reqDto.getCustomField3());//SimpleFieldAssign//sourceId:862141_1_36773
            }

            /*M2-生成工作周期更新切片[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_8.getParentSubMidCycleType(), "D2生成时间周期等语义内容服务(公共)-M2-生成工作周期更新切片-父子中周期类型不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_8.getCustomField1(), "D2生成时间周期等语义内容服务(公共)-M2-生成工作周期更新切片-自定义字段1不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_8.getCustomField2(), "D2生成时间周期等语义内容服务(公共)-M2-生成工作周期更新切片-自定义字段2不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_8.getCustomField3(), "D2生成时间周期等语义内容服务(公共)-M2-生成工作周期更新切片-自定义字段3不能为空", false);
            generateSemanticInstanceRes_16 = nbTemplateEngine.workCycleUpdateSlice(generateSemanticInstanceReq_8);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_9 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_8 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_16 != null) {
                receptionServiceReq_8.setObjectName(generateSemanticInstanceRes_16.getObjectName());//SimpleFieldAssign//sourceId:866063_1_38234
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_8.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_9 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_8);


            receptionServiceRes_1 = receptionServiceRes_9;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MODIFY_THE_TARGET_VALUE_LOG_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 修订目标值变更日志名称)  41483

//ModelCode: generateSemanticInstance
            ModifyTheTargetValueLogNameRespDto generateSemanticInstanceRes_18 = null;
            ModifyTheTargetValueLogNameReqDto generateSemanticInstanceReq_9 = new ModifyTheTargetValueLogNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_9.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:933202_1_41484
                generateSemanticInstanceReq_9.setReviseBehaviorName(reqDto.getReviseBehaviorName());//SimpleFieldAssign//sourceId:933203_1_41484
                generateSemanticInstanceReq_9.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:933204_1_41484
            }

            /*M2生成修订目标值故事内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_9.getReviseSubjectContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订目标值故事内容-修订主体内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_9.getReviseBehaviorName(), "D2生成时间周期等语义内容服务(公共)-M2生成修订目标值故事内容-修订行为名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_9.getColumnContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订目标值故事内容-变更后字段中文内容不能为空", false);
            generateSemanticInstanceRes_18 = nbTemplateEngine.modifyTheTargetValueLogName(generateSemanticInstanceReq_9);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_10 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_9 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_18 != null) {
                receptionServiceReq_9.setObjectName(generateSemanticInstanceRes_18.getObjectName());//SimpleFieldAssign//sourceId:866063_1_41485
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_9.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_10 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_9);


            receptionServiceRes_1 = receptionServiceRes_10;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MODIFY_THE_WEIGHT_LOG_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 修订权重变更日志名称)  41486

//ModelCode: generateSemanticInstance
            ModifyTheWeightLogNameRespDto generateSemanticInstanceRes_20 = null;
            ModifyTheWeightLogNameReqDto generateSemanticInstanceReq_10 = new ModifyTheWeightLogNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_10.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:933205_1_41487
                generateSemanticInstanceReq_10.setReviseBehaviorName(reqDto.getReviseBehaviorName());//SimpleFieldAssign//sourceId:933206_1_41487
                generateSemanticInstanceReq_10.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:933207_1_41487
            }

            /*M2生成修订权重语义故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_10.getReviseSubjectContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订权重语义故事-修订主体内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_10.getReviseBehaviorName(), "D2生成时间周期等语义内容服务(公共)-M2生成修订权重语义故事-修订行为名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_10.getColumnContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订权重语义故事-变更后字段中文内容不能为空", false);
            generateSemanticInstanceRes_20 = nbTemplateEngine.modifyTheWeightLogName(generateSemanticInstanceReq_10);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_11 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_10 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_20 != null) {
                receptionServiceReq_10.setObjectName(generateSemanticInstanceRes_20.getObjectName());//SimpleFieldAssign//sourceId:866063_1_41488
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_10.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_11 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_10);


            receptionServiceRes_1 = receptionServiceRes_11;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MODIFY_RECEIVE_TIME_LOG_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 修订计划验收时间变更日志名称)  41926

//ModelCode: generateSemanticInstance
            ModifyReceiveTimeLogNameRespDto generateSemanticInstanceRes_22 = null;
            ModifyReceiveTimeLogNameReqDto generateSemanticInstanceReq_11 = new ModifyReceiveTimeLogNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_11.setReviseBehaviorName(reqDto.getReviseBehaviorName());//SimpleFieldAssign//sourceId:952268_1_41927
                generateSemanticInstanceReq_11.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:952279_1_41927
                generateSemanticInstanceReq_11.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:952267_1_41927
            }

            /*M2生成修订计划验收时间故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_11.getReviseBehaviorName(), "D2生成时间周期等语义内容服务(公共)-M2生成修订计划验收时间故事-修订行为名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_11.getColumnContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订计划验收时间故事-变更后字段中文内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_11.getReviseSubjectContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订计划验收时间故事-修订主体内容不能为空", false);
            generateSemanticInstanceRes_22 = nbTemplateEngine.modifyReceiveTimeLogName(generateSemanticInstanceReq_11);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_12 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_11 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_22 != null) {
                receptionServiceReq_11.setObjectName(generateSemanticInstanceRes_22.getObjectName());//SimpleFieldAssign//sourceId:866063_1_41928
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_11.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_12 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_11);


            receptionServiceRes_1 = receptionServiceRes_12;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MODIFY_TARGET_CYCLE_NAME_LOG_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 修订目标周期名称变更日志名称)  41936

//ModelCode: generateSemanticInstance
            ModifyTargetCycleNameLogNameRespDto generateSemanticInstanceRes_24 = null;
            ModifyTargetCycleNameLogNameReqDto generateSemanticInstanceReq_12 = new ModifyTargetCycleNameLogNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_12.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:952312_1_41937
                generateSemanticInstanceReq_12.setReviseBehaviorName(reqDto.getReviseBehaviorName());//SimpleFieldAssign//sourceId:952313_1_41937
                generateSemanticInstanceReq_12.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:952314_1_41937
            }

            /*M2生成修订目标周期名称语义故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_12.getReviseSubjectContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订目标周期名称语义故事-修订主体内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_12.getReviseBehaviorName(), "D2生成时间周期等语义内容服务(公共)-M2生成修订目标周期名称语义故事-修订行为名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_12.getColumnContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订目标周期名称语义故事-变更后字段中文内容不能为空", false);
            generateSemanticInstanceRes_24 = nbTemplateEngine.modifyTargetCycleNameLogName(generateSemanticInstanceReq_12);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_13 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_12 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_24 != null) {
                receptionServiceReq_12.setObjectName(generateSemanticInstanceRes_24.getObjectName());//SimpleFieldAssign//sourceId:866063_1_41938
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_12.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_13 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_12);


            receptionServiceRes_1 = receptionServiceRes_13;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MODIFY_OBJTIVE_DIV_LOG_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 修订指标分工设置变更日志名称)  42106

//ModelCode: generateSemanticInstance
            ModifyObjtiveDivLogNameRespDto generateSemanticInstanceRes_26 = null;
            ModifyObjtiveDivLogNameReqDto generateSemanticInstanceReq_13 = new ModifyObjtiveDivLogNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_13.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:956676_1_42107
                generateSemanticInstanceReq_13.setReviseBehaviorName(reqDto.getReviseBehaviorName());//SimpleFieldAssign//sourceId:956677_1_42107
                generateSemanticInstanceReq_13.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:956678_1_42107
            }

            /*M2生成修订指标分工设置语义故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_13.getReviseSubjectContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订指标分工设置语义故事-修订主体内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_13.getReviseBehaviorName(), "D2生成时间周期等语义内容服务(公共)-M2生成修订指标分工设置语义故事-修订行为名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_13.getColumnContent(), "D2生成时间周期等语义内容服务(公共)-M2生成修订指标分工设置语义故事-变更后字段中文内容不能为空", false);
            generateSemanticInstanceRes_26 = nbTemplateEngine.modifyObjtiveDivLogName(generateSemanticInstanceReq_13);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_14 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_13 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_26 != null) {
                receptionServiceReq_13.setObjectName(generateSemanticInstanceRes_26.getObjectName());//SimpleFieldAssign//sourceId:866063_1_42108
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_13.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_14 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_13);


            receptionServiceRes_1 = receptionServiceRes_14;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CONTENT_SESSION_CHANNEL_NAME"))) {
            //elseif(D2生成时间周期等语义内容服务(公共).模板引擎标识 等于 内容会话通道名称)  47965

//ModelCode: generateSemanticInstance
            ContentSessionChannelNameRespDto generateSemanticInstanceRes_28 = null;
            ContentSessionChannelNameReqDto generateSemanticInstanceReq_14 = new ContentSessionChannelNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_14.setCyclelAlias(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:1098902_1_47967
            }

            /*M2生成内容会话通道名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_14.getCyclelAlias(), "D2生成时间周期等语义内容服务(公共)-M2生成内容会话通道名称-目标周期简称不能为空", false);
            generateSemanticInstanceRes_28 = nbTemplateEngine.contentSessionChannelName(generateSemanticInstanceReq_14);


//ModelCode: receptionService
            QueryOutputParametersDetailRespDto receptionServiceRes_15 = null;
            QueryOutputParametersDetailReqDto receptionServiceReq_14 = new QueryOutputParametersDetailReqDto();
            if (generateSemanticInstanceRes_28 != null) {
                receptionServiceReq_14.setObjectName(generateSemanticInstanceRes_28.getObjectName());//SimpleFieldAssign//sourceId:866063_1_47966
            }

            /*约定出参：对象名称[4197]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_14.getObjectName(), "D2生成时间周期等语义内容服务(公共)-约定出参：对象名称-对象名称不能为空", false);
            receptionServiceRes_15 = nbTemplateEngine.queryOutputParametersDetail(receptionServiceReq_14);


            receptionServiceRes_1 = receptionServiceRes_15;
        }
        GenerateTimeCycleEtcSemanticInstanceComRespDto retData = new GenerateTimeCycleEtcSemanticInstanceComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setObjectName(receptionServiceRes_1.getObjectName());//SimpleFieldAssign//sourceId:866064_1
        }


        return retData;
    }

    /**
     * D2生成批次名称等语义内容服务(公共)（封存）[5090]
     * gen by moon at 12/28/2023, 11:01:48 AM
     */
    @Trace(operationName = "D2生成批次名称等语义内容服务(公共)（封存）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateBatchNameEtcSemanticInstanceComRespDto generateBatchNameEtcSemanticInstanceCom(GenerateBatchNameEtcSemanticInstanceComReqDto reqDto) {


        DivisionContNameCreateDivisionDescRespDto generateSemanticInstanceRes_1 = null;
        CodeNameCreateDivisionDescRespDto generateSemanticInstanceRes_3 = null;
        GenerateEvaTempBatchNameRespDto generateSemanticInstanceRes_5 = null;
        CreateOrgBatchNameRespDto generateSemanticInstanceRes_7 = null;
        CreateDeptTargetTreeLeafTaskNameRespDto generateSemanticInstanceRes_9 = null;
        DistributedLockMotifBatchRespDto generateSemanticInstanceRes_11 = null;
        WorkTaskSummarySemanticStoryRespDto generateSemanticInstanceRes_13 = null;
        SubmitReportTaskWorkSummaryTextRespDto generateSemanticInstanceRes_15 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("DIVISION_CONT_NAME_CREATE_DIVISION_DESC"))) {
            //if(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 分工内容名称生成分工策略描述（选用）)  20892

//ModelCode: generateSemanticInstance
            DivisionContNameCreateDivisionDescRespDto generateSemanticInstanceRes = null;
            DivisionContNameCreateDivisionDescReqDto generateSemanticInstanceReq = new DivisionContNameCreateDivisionDescReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setDivisionContName(reqDto.getDivisionContName());//SimpleFieldAssign//sourceId:415638_1_20896
            }

            /*M2生成语义内容服务（分工内容名称生成分工策略描述）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getDivisionContName(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（分工内容名称生成分工策略描述）-分工内容名称不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.divisionContNameCreateDivisionDesc(generateSemanticInstanceReq);


            generateSemanticInstanceRes_1 = generateSemanticInstanceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CODE_NAME_CREATE_DIVISION_DESC"))) {
            //elseif(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 编码名称生成分工策略描述（选用）)  20893

//ModelCode: generateSemanticInstance
            CodeNameCreateDivisionDescRespDto generateSemanticInstanceRes_2 = null;
            CodeNameCreateDivisionDescReqDto generateSemanticInstanceReq_1 = new CodeNameCreateDivisionDescReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setCodeName(reqDto.getCodeName());//SimpleFieldAssign//sourceId:415755_1_20897
            }

            /*M2生成语义内容服务（编码名称生成分工策略描述）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getCodeName(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（编码名称生成分工策略描述）-编码名称不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.codeNameCreateDivisionDesc(generateSemanticInstanceReq_1);


            generateSemanticInstanceRes_3 = generateSemanticInstanceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("GENERATE_EVA_TEMP_BATCH_NAME"))) {
            //elseif(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 评价模板批次名称模板（选用）)  20894

//ModelCode: generateSemanticInstance
            GenerateEvaTempBatchNameRespDto generateSemanticInstanceRes_4 = null;
            GenerateEvaTempBatchNameReqDto generateSemanticInstanceReq_2 = new GenerateEvaTempBatchNameReqDto();
            generateSemanticInstanceReq_2.setSystemDateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:415759_1_20898
            generateSemanticInstanceReq_2.setRandomNumberDigits(Long.valueOf(6));//CUSTOM_CONVENTION//sourceId:415762_1_20898
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setTargetContentName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:415761_1_20898
            }

            /*M2生成语义内容服务（评价模板批次名称模板）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_2.getTargetContentName(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（评价模板批次名称模板）-目标内容名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_2.getSystemDateTime(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（评价模板批次名称模板）-系统当前时间不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_2.getRandomNumberDigits(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（评价模板批次名称模板）-随机数位数不能为空", false);
            generateSemanticInstanceRes_4 = nbTemplateEngine.generateEvaTempBatchName(generateSemanticInstanceReq_2);


            generateSemanticInstanceRes_5 = generateSemanticInstanceRes_4;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_ORG_BATCH_NAME"))) {
            //elseif(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 组织架构批次名称)  20895

//ModelCode: generateSemanticInstance
            CreateOrgBatchNameRespDto generateSemanticInstanceRes_6 = null;
            CreateOrgBatchNameReqDto generateSemanticInstanceReq_3 = new CreateOrgBatchNameReqDto();
            generateSemanticInstanceReq_3.setSystemDateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:415775_1_20899
            generateSemanticInstanceReq_3.setRandomNumberDigits(Long.valueOf(6));//CUSTOM_CONVENTION//sourceId:415776_1_20899
            if (reqDto != null) {
                generateSemanticInstanceReq_3.setSpaceName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:415778_1_20899
            }

            /*M2生成语义内容服务（组织架构批次名称）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_3.getSystemDateTime(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（组织架构批次名称）-系统当前时间不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_3.getRandomNumberDigits(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（组织架构批次名称）-随机数位数不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_3.getSpaceName(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（组织架构批次名称）-空间名称不能为空", false);
            generateSemanticInstanceRes_6 = nbTemplateEngine.createOrgBatchName(generateSemanticInstanceReq_3);


            generateSemanticInstanceRes_7 = generateSemanticInstanceRes_6;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_DEPT_TARGET_TREE_LEAF_TASK_NAME"))) {
            //elseif(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 生成部门目标任务书树当前叶子调度任务名称（选用）)  21092

//ModelCode: generateSemanticInstance
            CreateDeptTargetTreeLeafTaskNameRespDto generateSemanticInstanceRes_8 = null;
            CreateDeptTargetTreeLeafTaskNameReqDto generateSemanticInstanceReq_4 = new CreateDeptTargetTreeLeafTaskNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_4.setObjectiveShortName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:419574_1_21093
            }

            /*M2生成语义内容服务（部门目标任务书树当前叶子调度任务名称）[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_4.getObjectiveShortName(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成语义内容服务（部门目标任务书树当前叶子调度任务名称）-指标简称不能为空", false);
            generateSemanticInstanceRes_8 = nbTemplateEngine.createDeptTargetTreeLeafTaskName(generateSemanticInstanceReq_4);


            generateSemanticInstanceRes_9 = generateSemanticInstanceRes_8;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("DISTRIBUTED_LOCK_MOTIF_BATCH"))) {
            //elseif(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 分布式锁主题批次)  49086

//ModelCode: generateSemanticInstance
            DistributedLockMotifBatchRespDto generateSemanticInstanceRes_10 = null;
            DistributedLockMotifBatchReqDto generateSemanticInstanceReq_5 = new DistributedLockMotifBatchReqDto();
            generateSemanticInstanceReq_5.setSystemDateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1142555_1_49087
            if (reqDto != null) {
                generateSemanticInstanceReq_5.setCommPrimaryKey(reqDto.getCommPrimaryKey());//SimpleFieldAssign//sourceId:1142557_1_49087
            }

            /*M2生成分布式锁主题批次[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_5.getCommPrimaryKey(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成分布式锁主题批次-通用主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_5.getSystemDateTime(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成分布式锁主题批次-系统当前时间不能为空", false);
            generateSemanticInstanceRes_10 = nbTemplateEngine.distributedLockMotifBatch(generateSemanticInstanceReq_5);


            generateSemanticInstanceRes_11 = generateSemanticInstanceRes_10;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_SUMMARY_SEMANTIC_STORY"))) {
            //elseif(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 生成工作任务小结语义故事)  57320

            ImplementDateFormatComRespDto implementDateFormatComRespDto = null;
            ImplementDateFormatComReqDto implementDateFormatComReqDto = new ImplementDateFormatComReqDto();
            implementDateFormatComReqDto.setComTimeField(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:1441536_1_57322
            implementDateFormatComReqDto.setTimeFormatMode("yyyy-MM-dd");//CUSTOM_CONVENTION//sourceId:1441537_1_57322

            /*D2执行时间格式化(公共)[8203]   */
            Assert.isNull(implementDateFormatComReqDto.getComTimeField(), "D2生成批次名称等语义内容服务(公共)（封存）-D2执行时间格式化(公共)-通用时间字段不能为空", false);
            Assert.isNull(implementDateFormatComReqDto.getTimeFormatMode(), "D2生成批次名称等语义内容服务(公共)（封存）-D2执行时间格式化(公共)-时间格式模式不能为空", false);
            implementDateFormatComRespDto = interfaceModeService.implementDateFormatCom(implementDateFormatComReqDto)/*vcase invoke isSameApp*/;


//ModelCode: generateSemanticInstance
            WorkTaskSummarySemanticStoryRespDto generateSemanticInstanceRes_12 = null;
            if (implementDateFormatComRespDto != null) {
                WorkTaskSummarySemanticStoryReqDto generateSemanticInstanceReq_6 = new WorkTaskSummarySemanticStoryReqDto();
                if (implementDateFormatComRespDto != null) {
                    generateSemanticInstanceReq_6.setCycleStandardName(implementDateFormatComRespDto.getComTxtField());//SimpleFieldAssign//sourceId:1441519_1_57321
                }
                if (reqDto != null) {
                    generateSemanticInstanceReq_6.setTaskName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441516_1_57321
                }

                /*M2生成工作任务小结语义故事[5031]  解析语义模板，生成模板实例 */
                Assert.isNull(generateSemanticInstanceReq_6.getCycleStandardName(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成工作任务小结语义故事-周期名称不能为空", false);
                Assert.isNull(generateSemanticInstanceReq_6.getTaskName(), "D2生成批次名称等语义内容服务(公共)（封存）-M2生成工作任务小结语义故事-任务名称不能为空", false);
                generateSemanticInstanceRes_12 = nbTemplateEngine.workTaskSummarySemanticStory(generateSemanticInstanceReq_6);

                generateSemanticInstanceRes_13 = generateSemanticInstanceRes_12;
            }
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("SUBMIT_REPORT_TASK_WORK_SUMMARY_TEXT"))) {
            //elseif(D2生成批次名称等语义内容服务(公共).模板引擎标识 等于 提交汇报任务工作总结协同内容文案)  57349

//ModelCode: generateSemanticInstance
            SubmitReportTaskWorkSummaryTextRespDto generateSemanticInstanceRes_14 = null;
            SubmitReportTaskWorkSummaryTextReqDto generateSemanticInstanceReq_7 = new SubmitReportTaskWorkSummaryTextReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_7.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1442183_1_57350
                generateSemanticInstanceReq_7.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1442184_1_57350
            }

            /*M2生成汇报任务工作总结协同内容文案[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes_14 = nbTemplateEngine.submitReportTaskWorkSummaryText(generateSemanticInstanceReq_7);


            generateSemanticInstanceRes_15 = generateSemanticInstanceRes_14;
        }
        GenerateBatchNameEtcSemanticInstanceComRespDto retData = new GenerateBatchNameEtcSemanticInstanceComRespDto();
        if (generateSemanticInstanceRes_1 != null) {
            retData.setObjectName(generateSemanticInstanceRes_1.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }
        if (generateSemanticInstanceRes_3 != null) {
            retData.setObjectName(generateSemanticInstanceRes_3.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }
        if (generateSemanticInstanceRes_5 != null) {
            retData.setObjectName(generateSemanticInstanceRes_5.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }
        if (generateSemanticInstanceRes_7 != null) {
            retData.setObjectName(generateSemanticInstanceRes_7.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }
        if (generateSemanticInstanceRes_9 != null) {
            retData.setObjectName(generateSemanticInstanceRes_9.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }
        if (generateSemanticInstanceRes_11 != null) {
            retData.setObjectName(generateSemanticInstanceRes_11.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }

        if (generateSemanticInstanceRes_13 != null) {
            retData.setObjectName(generateSemanticInstanceRes_13.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }
        if (generateSemanticInstanceRes_15 != null) {
            retData.setObjectName(generateSemanticInstanceRes_15.getObjectName());//SimpleFieldAssign//sourceId:415782_1
        }


        return retData;
    }

    /**
     * D2-生成定时调度任务语义实例(公共)[5303]
     * gen by moon at 6/25/2023, 4:37:07 PM
     */
    @Trace(operationName = "D2-生成定时调度任务语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateTimingDispatchTaskSemanticInstanceComRespDto generateTimingDispatchTaskSemanticInstanceCom(GenerateTimingDispatchTaskSemanticInstanceComReqDto reqDto) {


        CreateTargetContAnceParentStaTaskRespDto generateSemanticInstanceRes_1 = null;
        CreateTempCycleStageDispatchNameRespDto generateSemanticInstanceRes_3 = null;
        CreateDeptTargetTreeLeafTaskNameRespDto generateSemanticInstanceRes_5 = null;
        CreateOkrPersonalTreeDataNameRespDto generateSemanticInstanceRes_7 = null;
        BuildThreeTreeCurrentLeafAndSuperiorTaskNameRespDto generateSemanticInstanceRes_9 = null;
        CreateTimingTaskAutoUpdateWeightScoreNameRespDto generateSemanticInstanceRes_11 = null;
        CreateReportDispatchNameRespDto generateSemanticInstanceRes_13 = null;
        ManyLoopUpdateCheckItemNodeStatusDispatchNameRespDto generateSemanticInstanceRes_15 = null;
        CreateTargetContAnceParentStaTaskRespDto generateSemanticInstanceRes_17 = null;
        CreateDeleteTargetContInfoTaskNameRespDto generateSemanticInstanceRes_19 = null;
        CreateCalcTargetReportDataTaskNameRespDto generateSemanticInstanceRes_21 = null;
        CreateTorrUpdateContParentStatePlanNameRespDto generateSemanticInstanceRes_23 = null;
        CreatePlaTorrUpdateContParentStatePlanNameRespDto generateSemanticInstanceRes_25 = null;
        CreateReportTaskAutoExecNameRespDto generateSemanticInstanceRes_27 = null;
        CreateCompensationTargetContCheckEtcDisNameRespDto generateSemanticInstanceRes_29 = null;
        CreateDownwardUpdateTargetSetCheckItemEtcStatePlanNameRespDto generateSemanticInstanceRes_31 = null;
        ReviseRecalculateDataTaskNameRespDto generateSemanticInstanceRes_33 = null;
        DispatchExecuteGridCalcTaskNameRespDto generateSemanticInstanceRes_35 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_TARGET_CONT_ANCE_PARENT_STA_TASK_NAME"))) {
            //if(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成目标内容祖先目标父子状态调度任务名称（选用）)  22703

//ModelCode: generateSemanticInstance
            CreateTargetContAnceParentStaTaskRespDto generateSemanticInstanceRes = null;
            CreateTargetContAnceParentStaTaskReqDto generateSemanticInstanceReq = new CreateTargetContAnceParentStaTaskReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:594627_1_22704
            }

            /*M2生成目标内容祖先目标父子状态调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成目标内容祖先目标父子状态调度任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.createTargetContAnceParentStaTask(generateSemanticInstanceReq);


            generateSemanticInstanceRes_1 = generateSemanticInstanceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_TEMP_CYCLE_STAGE_DISPATCH_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成评价模板调度汇报任务名称（选用）)  22705

//ModelCode: generateSemanticInstance
            CreateTempCycleStageDispatchNameRespDto generateSemanticInstanceRes_2 = null;
            CreateTempCycleStageDispatchNameReqDto generateSemanticInstanceReq_1 = new CreateTempCycleStageDispatchNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setCyclelAlias(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:594628_1_22706
            }

            /*M2生成评价模板调度汇报任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getCyclelAlias(), "D2-生成定时调度任务语义实例(公共)-M2生成评价模板调度汇报任务名称-目标周期简称不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.createTempCycleStageDispatchName(generateSemanticInstanceReq_1);


            generateSemanticInstanceRes_3 = generateSemanticInstanceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_DEPT_TARGET_TREE_LEAF_TASK_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成部门目标任务书树当前叶子调度任务名称（选用）)  22707

//ModelCode: generateSemanticInstance
            CreateDeptTargetTreeLeafTaskNameRespDto generateSemanticInstanceRes_4 = null;
            CreateDeptTargetTreeLeafTaskNameReqDto generateSemanticInstanceReq_2 = new CreateDeptTargetTreeLeafTaskNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:594631_1_22708
            }

            /*M2生成部门目标任务书树当前叶子调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_2.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成部门目标任务书树当前叶子调度任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_4 = nbTemplateEngine.createDeptTargetTreeLeafTaskName(generateSemanticInstanceReq_2);


            generateSemanticInstanceRes_5 = generateSemanticInstanceRes_4;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_OKR_PERSONAL_TREE_DATA_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成OKR个人树调度任务名称（选用）)  22709

//ModelCode: generateSemanticInstance
            CreateOkrPersonalTreeDataNameRespDto generateSemanticInstanceRes_6 = null;
            CreateOkrPersonalTreeDataNameReqDto generateSemanticInstanceReq_3 = new CreateOkrPersonalTreeDataNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_3.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:594632_1_22710
            }

            /* M2生成OKR个人树调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_3.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)- M2生成OKR个人树调度任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_6 = nbTemplateEngine.createOkrPersonalTreeDataName(generateSemanticInstanceReq_3);


            generateSemanticInstanceRes_7 = generateSemanticInstanceRes_6;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("BUILD_THREE_TREE_CURRENT_LEAF_AND_SUPERIOR_TASK_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成构建三棵树当前叶子及上级目标调度名称)  26843

//ModelCode: generateSemanticInstance
            BuildThreeTreeCurrentLeafAndSuperiorTaskNameRespDto generateSemanticInstanceRes_8 = null;
            BuildThreeTreeCurrentLeafAndSuperiorTaskNameReqDto generateSemanticInstanceReq_4 = new BuildThreeTreeCurrentLeafAndSuperiorTaskNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_4.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:594633_1_26844
            }

            /*M2生成构建三棵树当前叶子及上级目标调度名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_4.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成构建三棵树当前叶子及上级目标调度名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_8 = nbTemplateEngine.buildThreeTreeCurrentLeafAndSuperiorTaskName(generateSemanticInstanceReq_4);


            generateSemanticInstanceRes_9 = generateSemanticInstanceRes_8;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_TIMING_TASK_AUTO_UPDATE_WEIGHT_SCORE_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成调度自动更新权重分任务名称)  26845

//ModelCode: generateSemanticInstance
            CreateTimingTaskAutoUpdateWeightScoreNameRespDto generateSemanticInstanceRes_10 = null;
            CreateTimingTaskAutoUpdateWeightScoreNameReqDto generateSemanticInstanceReq_5 = new CreateTimingTaskAutoUpdateWeightScoreNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_5.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:594730_1_26846
            }

            /*M2生成调度自动更新权重分任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_5.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成调度自动更新权重分任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_10 = nbTemplateEngine.createTimingTaskAutoUpdateWeightScoreName(generateSemanticInstanceReq_5);


            generateSemanticInstanceRes_11 = generateSemanticInstanceRes_10;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_REPORT_DISPATCH_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 调度生成汇报任务名称（选用）)  26848

//ModelCode: generateSemanticInstance
            CreateReportDispatchNameRespDto generateSemanticInstanceRes_12 = null;
            CreateReportDispatchNameReqDto generateSemanticInstanceReq_6 = new CreateReportDispatchNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_6.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:610674_1_26849
                generateSemanticInstanceReq_6.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:610675_1_26849
            }

            /*M2-生成调度生成汇报任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_6.getCycleStandardName(), "D2-生成定时调度任务语义实例(公共)-M2-生成调度生成汇报任务名称-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_6.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2-生成调度生成汇报任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_12 = nbTemplateEngine.createReportDispatchName(generateSemanticInstanceReq_6);


            generateSemanticInstanceRes_13 = generateSemanticInstanceRes_12;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MANY_LOOP_UPDATE_CHECK_ITEM_NODE_STATUS_DISPATCH_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成多循环更新检查项祖先状态调度名称)  26850

//ModelCode: generateSemanticInstance
            ManyLoopUpdateCheckItemNodeStatusDispatchNameRespDto generateSemanticInstanceRes_14 = null;
            ManyLoopUpdateCheckItemNodeStatusDispatchNameReqDto generateSemanticInstanceReq_7 = new ManyLoopUpdateCheckItemNodeStatusDispatchNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_7.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:594732_1_26851
            }

            /*M2生成多循环更新检查项祖先状态调度名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_7.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成多循环更新检查项祖先状态调度名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_14 = nbTemplateEngine.manyLoopUpdateCheckItemNodeStatusDispatchName(generateSemanticInstanceReq_7);


            generateSemanticInstanceRes_15 = generateSemanticInstanceRes_14;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_TARGET_CONT_ANCE_PARENT_STA_TASK_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成目标内容祖先目标父子状态调度任务名称（选用）)  26852

//ModelCode: generateSemanticInstance
            CreateTargetContAnceParentStaTaskRespDto generateSemanticInstanceRes_16 = null;
            CreateTargetContAnceParentStaTaskReqDto generateSemanticInstanceReq_8 = new CreateTargetContAnceParentStaTaskReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_8.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:594733_1_26853
            }

            /*M2生成目标内容祖先目标父子状态调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_8.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成目标内容祖先目标父子状态调度任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_16 = nbTemplateEngine.createTargetContAnceParentStaTask(generateSemanticInstanceReq_8);


            generateSemanticInstanceRes_17 = generateSemanticInstanceRes_16;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_DELETE_TARGET_CONT_INFO_TASK_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成删除目标内容基本信息调度任务名称（选用）)  26872

//ModelCode: generateSemanticInstance
            CreateDeleteTargetContInfoTaskNameRespDto generateSemanticInstanceRes_18 = null;
            CreateDeleteTargetContInfoTaskNameReqDto generateSemanticInstanceReq_9 = new CreateDeleteTargetContInfoTaskNameReqDto();
            generateSemanticInstanceReq_9.setSystemDateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:596222_1_26873

            /*M2生成删除目标内容基本信息调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_9.getSystemDateTime(), "D2-生成定时调度任务语义实例(公共)-M2生成删除目标内容基本信息调度任务名称-系统当前时间不能为空", false);
            generateSemanticInstanceRes_18 = nbTemplateEngine.createDeleteTargetContInfoTaskName(generateSemanticInstanceReq_9);


            generateSemanticInstanceRes_19 = generateSemanticInstanceRes_18;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_CALC_TARGET_REPORT_DATA_TASK_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成计算目标汇报数据调度任务名称（选用）)  30256

//ModelCode: generateSemanticInstance
            CreateCalcTargetReportDataTaskNameRespDto generateSemanticInstanceRes_20 = null;
            CreateCalcTargetReportDataTaskNameReqDto generateSemanticInstanceReq_10 = new CreateCalcTargetReportDataTaskNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_10.setTaskName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:677085_1_30257
            }

            /*M2生成计算标准数据MQ调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_10.getTaskName(), "D2-生成定时调度任务语义实例(公共)-M2生成计算标准数据MQ调度任务名称-任务名称不能为空", false);
            generateSemanticInstanceRes_20 = nbTemplateEngine.createCalcTargetReportDataTaskName(generateSemanticInstanceReq_10);


            generateSemanticInstanceRes_21 = generateSemanticInstanceRes_20;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_TORR_UPDATE_CONT_PARENT_STATE_PLAN_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成托底更新目标内容父子状态等调度名称)  31961

//ModelCode: generateSemanticInstance
            CreateTorrUpdateContParentStatePlanNameRespDto generateSemanticInstanceRes_22 = null;
            CreateTorrUpdateContParentStatePlanNameReqDto generateSemanticInstanceReq_11 = new CreateTorrUpdateContParentStatePlanNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_11.setTargetContentName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:722191_1_31962
            }

            /*M2-生成托底更新目标内容父子状态调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_11.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2-生成托底更新目标内容父子状态调度任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_22 = nbTemplateEngine.createTorrUpdateContParentStatePlanName(generateSemanticInstanceReq_11);


            generateSemanticInstanceRes_23 = generateSemanticInstanceRes_22;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_PLA_TORR_UPDATE_CONT_PARENT_STATE_PLAN_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 平台托底更新目标内容父子状态等调度名称)  31963

//ModelCode: generateSemanticInstance
            CreatePlaTorrUpdateContParentStatePlanNameRespDto generateSemanticInstanceRes_24 = null;
            CreatePlaTorrUpdateContParentStatePlanNameReqDto generateSemanticInstanceReq_12 = new CreatePlaTorrUpdateContParentStatePlanNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_12.setTargetContentName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:722205_1_31964
            }

            /*M2-生成平台托底更新目标内容父子状态调度任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_12.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2-生成平台托底更新目标内容父子状态调度任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_24 = nbTemplateEngine.createPlaTorrUpdateContParentStatePlanName(generateSemanticInstanceReq_12);


            generateSemanticInstanceRes_25 = generateSemanticInstanceRes_24;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_REPORT_TASK_AUTO_EXEC_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成汇报任务自动汇报名称)  31965

//ModelCode: generateSemanticInstance
            CreateReportTaskAutoExecNameRespDto generateSemanticInstanceRes_26 = null;
            CreateReportTaskAutoExecNameReqDto generateSemanticInstanceReq_13 = new CreateReportTaskAutoExecNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_13.setAbbreviation(reqDto.getObjectName());//SimpleFieldAssign//sourceId:723655_1_31966
            }

            /*M2生成汇报任务自动汇报名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_13.getAbbreviation(), "D2-生成定时调度任务语义实例(公共)-M2生成汇报任务自动汇报名称-空间简称不能为空", false);
            generateSemanticInstanceRes_26 = nbTemplateEngine.createReportTaskAutoExecName(generateSemanticInstanceReq_13);


            generateSemanticInstanceRes_27 = generateSemanticInstanceRes_26;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_COMPENSATION_TARGET_CONT_CHECK_ETC_DIS_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成补偿目标内容检查项等调度名称)  32248

//ModelCode: generateSemanticInstance
            CreateCompensationTargetContCheckEtcDisNameRespDto generateSemanticInstanceRes_28 = null;
            CreateCompensationTargetContCheckEtcDisNameReqDto generateSemanticInstanceReq_14 = new CreateCompensationTargetContCheckEtcDisNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_14.setTargetContentName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:730508_1_32249
            }

            /*M2生成补偿目标内容检查项等调度名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_14.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成补偿目标内容检查项等调度名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_28 = nbTemplateEngine.createCompensationTargetContCheckEtcDisName(generateSemanticInstanceReq_14);


            generateSemanticInstanceRes_29 = generateSemanticInstanceRes_28;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_DOWNWARD_UPDATE_TARGET_SET_CHECK_ITEM_ETC_STATE_PLAN_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成向下更新目标设置检查项状态等调度名称)  36670

//ModelCode: generateSemanticInstance
            CreateDownwardUpdateTargetSetCheckItemEtcStatePlanNameRespDto generateSemanticInstanceRes_30 = null;
            CreateDownwardUpdateTargetSetCheckItemEtcStatePlanNameReqDto generateSemanticInstanceReq_15 = new CreateDownwardUpdateTargetSetCheckItemEtcStatePlanNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_15.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:817910_1_36671
            }

            /*M2生成向下更新目标设置等检查项状态调度名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_15.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成向下更新目标设置等检查项状态调度名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_30 = nbTemplateEngine.createDownwardUpdateTargetSetCheckItemEtcStatePlanName(generateSemanticInstanceReq_15);


            generateSemanticInstanceRes_31 = generateSemanticInstanceRes_30;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REVISE_RECALCULATE_DATA_TASK_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成修订重新计算标准数据任务名称)  41587

//ModelCode: generateSemanticInstance
            ReviseRecalculateDataTaskNameRespDto generateSemanticInstanceRes_32 = null;
            ReviseRecalculateDataTaskNameReqDto generateSemanticInstanceReq_16 = new ReviseRecalculateDataTaskNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_16.setTargetContentName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:936827_1_41588
            }

            /*M2生成修订重新计算标准数据任务名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_16.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2生成修订重新计算标准数据任务名称-目标内容名称不能为空", false);
            generateSemanticInstanceRes_32 = nbTemplateEngine.reviseRecalculateDataTaskName(generateSemanticInstanceReq_16);


            generateSemanticInstanceRes_33 = generateSemanticInstanceRes_32;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("DISPATCH_EXECUTE_GRID_CALC_TASK_NAME"))) {
            //elseif(D2-生成定时调度任务语义实例(公共).模板引擎标识 等于 生成全模板网格计算标准数据任务名称)  43940

//ModelCode: generateSemanticInstance
            DispatchExecuteGridCalcTaskNameRespDto generateSemanticInstanceRes_34 = null;
            DispatchExecuteGridCalcTaskNameReqDto generateSemanticInstanceReq_17 = new DispatchExecuteGridCalcTaskNameReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_17.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1059258_1_43941
                generateSemanticInstanceReq_17.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1003212_1_43941
            }

            /*M2-生成全模板网格计算标准数据任务名称	[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_17.getTargetContentName(), "D2-生成定时调度任务语义实例(公共)-M2-生成全模板网格计算标准数据任务名称	-目标内容名称不能为空", false);
            generateSemanticInstanceRes_34 = nbTemplateEngine.dispatchExecuteGridCalcTaskName(generateSemanticInstanceReq_17);

            generateSemanticInstanceRes_35 = generateSemanticInstanceRes_34;

        }
        GenerateTimingDispatchTaskSemanticInstanceComRespDto retData = new GenerateTimingDispatchTaskSemanticInstanceComRespDto();
        if (generateSemanticInstanceRes_1 != null) {
            retData.setObjectName(generateSemanticInstanceRes_1.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_3 != null) {
            retData.setObjectName(generateSemanticInstanceRes_3.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_5 != null) {
            retData.setObjectName(generateSemanticInstanceRes_5.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_7 != null) {
            retData.setObjectName(generateSemanticInstanceRes_7.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_9 != null) {
            retData.setObjectName(generateSemanticInstanceRes_9.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_11 != null) {
            retData.setObjectName(generateSemanticInstanceRes_11.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_13 != null) {
            retData.setObjectName(generateSemanticInstanceRes_13.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_15 != null) {
            retData.setObjectName(generateSemanticInstanceRes_15.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_17 != null) {
            retData.setObjectName(generateSemanticInstanceRes_17.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_19 != null) {
            retData.setObjectName(generateSemanticInstanceRes_19.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_21 != null) {
            retData.setObjectName(generateSemanticInstanceRes_21.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_23 != null) {
            retData.setObjectName(generateSemanticInstanceRes_23.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_25 != null) {
            retData.setObjectName(generateSemanticInstanceRes_25.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_27 != null) {
            retData.setObjectName(generateSemanticInstanceRes_27.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_29 != null) {
            retData.setObjectName(generateSemanticInstanceRes_29.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_31 != null) {
            retData.setObjectName(generateSemanticInstanceRes_31.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
        if (generateSemanticInstanceRes_33 != null) {
            retData.setObjectName(generateSemanticInstanceRes_33.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }
// TODO: 2023/6/7 手写代码
        if (generateSemanticInstanceRes_35 != null) {
            retData.setObjectName(generateSemanticInstanceRes_35.getObjectName());//SimpleFieldAssign//sourceId:594734_1
        }


        return retData;
    }

    /**
     * D2生成对象校验语义实例(公共)[5795]
     * gen by moon at 2/27/2023, 6:53:35 PM
     */
    @Trace(operationName = "D2生成对象校验语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateObjectCheckSemanticInstanceComRespDto generateObjectCheckSemanticInstanceCom(GenerateObjectCheckSemanticInstanceComReqDto reqDto) {


        WeightAndScoreNotSetStoryTipsRespDto generateSemanticInstanceRes_1 = null;
        WeightSummationUnequalHundredStoryTipsRespDto generateSemanticInstanceRes_3 = null;
        WeightScoreSetAbnormalStoryTipsRespDto generateSemanticInstanceRes_5 = null;
        TargetCycleBelowUnsetTargetStoryTipsRespDto generateSemanticInstanceRes_7 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WEIGHT_AND_SCORE_NOT_SET_STORY_TIPS"))) {
            //if(D2生成对象校验语义实例(公共).模板引擎标识 等于 权重及权重分未设置故事提示)  27858

//ModelCode: generateSemanticInstance
            WeightAndScoreNotSetStoryTipsRespDto generateSemanticInstanceRes = null;
            WeightAndScoreNotSetStoryTipsReqDto generateSemanticInstanceReq = new WeightAndScoreNotSetStoryTipsReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:635600_1_27859
                generateSemanticInstanceReq.setCyclelAlias(reqDto.getObjectName());//SimpleFieldAssign//sourceId:635601_1_27859
            }

            /*M2生成权重或权重分未设置提示内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getCycleStandardName(), "D2生成对象校验语义实例(公共)-M2生成权重或权重分未设置提示内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq.getCyclelAlias(), "D2生成对象校验语义实例(公共)-M2生成权重或权重分未设置提示内容-目标周期简称不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.weightAndScoreNotSetStoryTips(generateSemanticInstanceReq);


            generateSemanticInstanceRes_1 = generateSemanticInstanceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WEIGHT_SUMMATION_UNEQUAL_HUNDRED_STORY_TIPS"))) {
            //elseif(D2生成对象校验语义实例(公共).模板引擎标识 等于 权重总和不等于100故事提示)  27863

//ModelCode: generateSemanticInstance
            WeightSummationUnequalHundredStoryTipsRespDto generateSemanticInstanceRes_2 = null;
            WeightSummationUnequalHundredStoryTipsReqDto generateSemanticInstanceReq_1 = new WeightSummationUnequalHundredStoryTipsReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:635598_1_27864
                generateSemanticInstanceReq_1.setCyclelAlias(reqDto.getObjectName());//SimpleFieldAssign//sourceId:635599_1_27864
            }

            /*M2生成权重总和不等于100故事提示[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getCycleStandardName(), "D2生成对象校验语义实例(公共)-M2生成权重总和不等于100故事提示-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_1.getCyclelAlias(), "D2生成对象校验语义实例(公共)-M2生成权重总和不等于100故事提示-目标周期简称不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.weightSummationUnequalHundredStoryTips(generateSemanticInstanceReq_1);


            generateSemanticInstanceRes_3 = generateSemanticInstanceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WEIGHT_SCORE_SET_ABNORMAL_STORY_TIPS"))) {
            //elseif(D2生成对象校验语义实例(公共).模板引擎标识 等于 权重分设置异常故事提示)  27867

//ModelCode: generateSemanticInstance
            WeightScoreSetAbnormalStoryTipsRespDto generateSemanticInstanceRes_4 = null;
            WeightScoreSetAbnormalStoryTipsReqDto generateSemanticInstanceReq_2 = new WeightScoreSetAbnormalStoryTipsReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:635596_1_27868
                generateSemanticInstanceReq_2.setCyclelAlias(reqDto.getObjectName());//SimpleFieldAssign//sourceId:635597_1_27868
            }

            /*M2生成权重分设置异常故事提示[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_2.getCycleStandardName(), "D2生成对象校验语义实例(公共)-M2生成权重分设置异常故事提示-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_2.getCyclelAlias(), "D2生成对象校验语义实例(公共)-M2生成权重分设置异常故事提示-目标周期简称不能为空", false);
            generateSemanticInstanceRes_4 = nbTemplateEngine.weightScoreSetAbnormalStoryTips(generateSemanticInstanceReq_2);


            generateSemanticInstanceRes_5 = generateSemanticInstanceRes_4;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("TARGET_CYCLE_BELOW_UNSET_TARGET_STORY_TIPS"))) {
            //elseif(D2生成对象校验语义实例(公共).模板引擎标识 等于 目标周期下未设置目标故事提示)  27872

//ModelCode: generateSemanticInstance
            TargetCycleBelowUnsetTargetStoryTipsRespDto generateSemanticInstanceRes_6 = null;
            TargetCycleBelowUnsetTargetStoryTipsReqDto generateSemanticInstanceReq_3 = new TargetCycleBelowUnsetTargetStoryTipsReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_3.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:635592_1_27873
                generateSemanticInstanceReq_3.setCyclelAlias(reqDto.getObjectName());//SimpleFieldAssign//sourceId:635593_1_27873
            }

            /*M2生成目标周期下未设置目标故事提示[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_3.getCycleStandardName(), "D2生成对象校验语义实例(公共)-M2生成目标周期下未设置目标故事提示-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_3.getCyclelAlias(), "D2生成对象校验语义实例(公共)-M2生成目标周期下未设置目标故事提示-目标周期简称不能为空", false);
            generateSemanticInstanceRes_6 = nbTemplateEngine.targetCycleBelowUnsetTargetStoryTips(generateSemanticInstanceReq_3);


            generateSemanticInstanceRes_7 = generateSemanticInstanceRes_6;
        }
        GenerateObjectCheckSemanticInstanceComRespDto retData = new GenerateObjectCheckSemanticInstanceComRespDto();
        if (generateSemanticInstanceRes_1 != null) {
            retData.setObjectName(generateSemanticInstanceRes_1.getObjectName());//SimpleFieldAssign//sourceId:635502_1
        }
        if (generateSemanticInstanceRes_3 != null) {
            retData.setObjectName(generateSemanticInstanceRes_3.getObjectName());//SimpleFieldAssign//sourceId:635502_1
        }
        if (generateSemanticInstanceRes_5 != null) {
            retData.setObjectName(generateSemanticInstanceRes_5.getObjectName());//SimpleFieldAssign//sourceId:635502_1
        }
        if (generateSemanticInstanceRes_7 != null) {
            retData.setObjectName(generateSemanticInstanceRes_7.getObjectName());//SimpleFieldAssign//sourceId:635502_1
        }


        return retData;
    }

    /**
     * D2生成消息语义实例(公共)[7038]
     * gen by moon at 7/16/2023, 5:43:56 PM
     */
    @Trace(operationName = "D2生成消息语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceCom(GenerateMessageSemanticInstanceComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_GROUP_DEFAULT_PROMPT_MESSAGE"))) {
            //if(D2生成消息语义实例(公共).模板引擎标识 等于 拉单人进群的默认提示消息)  43611

//ModelCode: generateSemanticInstance
            CreateGroupDefaultPromptMessageRespDto generateSemanticInstanceRes = null;
            CreateGroupDefaultPromptMessageReqDto generateSemanticInstanceReq = new CreateGroupDefaultPromptMessageReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:996254_1_43613
            }

            /*M2生成：邀请“ xx ” 加入小岛[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getIdCardName(), "D2生成消息语义实例(公共)-M2生成：邀请“ xx ” 加入小岛-真实姓名不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.createGroupDefaultPromptMessage(generateSemanticInstanceReq);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq.setObjectName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:1088522_1_47668
            }

            /*M2-接收上文出参字段[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getObjectName(), "D2生成消息语义实例(公共)-M2-接收上文出参字段-对象名称不能为空", false);
            receptionServiceRes = nbTemplateEngine.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("TWO_PEOPLE_CHAT_DEFAULT_PROMPT_MESSAGE"))) {
            //elseif(D2生成消息语义实例(公共).模板引擎标识 等于 建立两人聊天默认提示消息)  43612

//ModelCode: generateSemanticInstance
            TwoPeopleChatDefaultPromptMessageRespDto generateSemanticInstanceRes_2 = null;
            TwoPeopleChatDefaultPromptMessageReqDto generateSemanticInstanceReq_1 = new TwoPeopleChatDefaultPromptMessageReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:996255_1_43614
            }

            /*M2生成“我是**”[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getIdCardName(), "D2生成消息语义实例(公共)-M2生成“我是**”-真实姓名不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.twoPeopleChatDefaultPromptMessage(generateSemanticInstanceReq_1);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_2 != null) {
                receptionServiceReq_1.setObjectName(generateSemanticInstanceRes_2.getObjectName());//SimpleFieldAssign//sourceId:1088522_1_47669
            }

            /*M2-接收上文出参字段[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getObjectName(), "D2生成消息语义实例(公共)-M2-接收上文出参字段-对象名称不能为空", false);
            receptionServiceRes_2 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("KICK_OUT_MULT_DEFAULT_PROMPT_MESSAGE"))) {
            //elseif(D2生成消息语义实例(公共).模板引擎标识 等于 群踢出多人的默认提示消息)  43689

//ModelCode: generateSemanticInstance
            KickOutMultDefaultPromptMessageRespDto generateSemanticInstanceRes_4 = null;
            KickOutMultDefaultPromptMessageReqDto generateSemanticInstanceReq_2 = new KickOutMultDefaultPromptMessageReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:998086_1_43690
            }

            /*M2生成：多人被“ xx ” 移出小岛[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_2.getIdCardName(), "D2生成消息语义实例(公共)-M2生成：多人被“ xx ” 移出小岛-真实姓名不能为空", false);
            generateSemanticInstanceRes_4 = nbTemplateEngine.kickOutMultDefaultPromptMessage(generateSemanticInstanceReq_2);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_3 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_2 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_4 != null) {
                receptionServiceReq_2.setObjectName(generateSemanticInstanceRes_4.getObjectName());//SimpleFieldAssign//sourceId:1088522_1_47670
            }

            /*M2-接收上文出参字段[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getObjectName(), "D2生成消息语义实例(公共)-M2-接收上文出参字段-对象名称不能为空", false);
            receptionServiceRes_3 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_2);


            receptionServiceRes_1 = receptionServiceRes_3;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("KICK_OUT_SINGLE_DEFAULT_PROMPT_MESSAGE"))) {
            //elseif(D2生成消息语义实例(公共).模板引擎标识 等于 群踢出单人的默认提示消息)  43691

//ModelCode: generateSemanticInstance
            KickOutSingleDefaultPromptMessageRespDto generateSemanticInstanceRes_6 = null;
            KickOutSingleDefaultPromptMessageReqDto generateSemanticInstanceReq_3 = new KickOutSingleDefaultPromptMessageReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_3.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:998089_1_43692
            }

            /*M2生成：被“ xx ” 移出小岛 [5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_3.getIdCardName(), "D2生成消息语义实例(公共)-M2生成：被“ xx ” 移出小岛 -真实姓名不能为空", false);
            generateSemanticInstanceRes_6 = nbTemplateEngine.kickOutSingleDefaultPromptMessage(generateSemanticInstanceReq_3);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_4 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_3 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_6 != null) {
                receptionServiceReq_3.setObjectName(generateSemanticInstanceRes_6.getObjectName());//SimpleFieldAssign//sourceId:1088522_1_47671
            }

            /*M2-接收上文出参字段[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_3.getObjectName(), "D2生成消息语义实例(公共)-M2-接收上文出参字段-对象名称不能为空", false);
            receptionServiceRes_4 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_3);


            receptionServiceRes_1 = receptionServiceRes_4;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_MULT_GROUP_DEFAULT_PROMPT_MESSAGE"))) {
            //elseif(D2生成消息语义实例(公共).模板引擎标识 等于 拉多人进群的默认提示消息)  43698

//ModelCode: generateSemanticInstance
            CreateMultGroupDefaultPromptMessageRespDto generateSemanticInstanceRes_8 = null;
            CreateMultGroupDefaultPromptMessageReqDto generateSemanticInstanceReq_4 = new CreateMultGroupDefaultPromptMessageReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_4.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:998219_1_43702
            }

            /*M2生成 “ xx ” 邀请多人加入小岛[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_4.getIdCardName(), "D2生成消息语义实例(公共)-M2生成 “ xx ” 邀请多人加入小岛-真实姓名不能为空", false);
            generateSemanticInstanceRes_8 = nbTemplateEngine.createMultGroupDefaultPromptMessage(generateSemanticInstanceReq_4);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_5 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_4 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_8 != null) {
                receptionServiceReq_4.setObjectName(generateSemanticInstanceRes_8.getObjectName());//SimpleFieldAssign//sourceId:1088522_1_47672
            }

            /*M2-接收上文出参字段[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_4.getObjectName(), "D2生成消息语义实例(公共)-M2-接收上文出参字段-对象名称不能为空", false);
            receptionServiceRes_5 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_4);


            receptionServiceRes_1 = receptionServiceRes_5;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ACTIVE_QUIT_DEFAULT_PROMPT_MESSAGE"))) {
            //elseif(D2生成消息语义实例(公共).模板引擎标识 等于 主动退出群聊默认提示消息)  43705

//ModelCode: generateSemanticInstance
            ActiveQuitDefaultPromptMessageRespDto generateSemanticInstanceRes_10 = null;
            ActiveQuitDefaultPromptMessageReqDto generateSemanticInstanceReq_5 = new ActiveQuitDefaultPromptMessageReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_5.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:998218_1_43706
            }

            /*M2生成：“ xx ” 退出小岛[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_5.getIdCardName(), "D2生成消息语义实例(公共)-M2生成：“ xx ” 退出小岛-真实姓名不能为空", false);
            generateSemanticInstanceRes_10 = nbTemplateEngine.activeQuitDefaultPromptMessage(generateSemanticInstanceReq_5);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_6 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_5 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_10 != null) {
                receptionServiceReq_5.setObjectName(generateSemanticInstanceRes_10.getObjectName());//SimpleFieldAssign//sourceId:1088522_1_47673
            }

            /*M2-接收上文出参字段[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_5.getObjectName(), "D2生成消息语义实例(公共)-M2-接收上文出参字段-对象名称不能为空", false);
            receptionServiceRes_6 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_5);


            receptionServiceRes_1 = receptionServiceRes_6;
        }
        GenerateMessageSemanticInstanceComRespDto retData = new GenerateMessageSemanticInstanceComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setObjectName(receptionServiceRes_1.getObjectName());//SimpleFieldAssign//sourceId:1088530_1
        }


        return retData;
    }

    /**
     * D2获取分布式锁语义实例(公共)[7255]
     * gen by moon at 7/5/2023, 10:48:23 PM
     */
    @Trace(operationName = "D2获取分布式锁语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ObtainLockSemanticInstanceComRespDto obtainLockSemanticInstanceCom(ObtainLockSemanticInstanceComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("TARGET_CONT_MGT_KEY"))) {
            //if(D2获取分布式锁语义实例(公共).模板引擎标识 等于 目标内容管理锁主键)  46372

//ModelCode: generateSemanticInstance
            TargetContMgtKeyRespDto generateSemanticInstanceRes = null;
            TargetContMgtKeyReqDto generateSemanticInstanceReq = new TargetContMgtKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1064872_1_46373
                generateSemanticInstanceReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1064866_1_46373
            }

            /*M2生成目标内容管理锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getEntityId(), "D2获取分布式锁语义实例(公共)-M2生成目标内容管理锁主键-内容表主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成目标内容管理锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.targetContMgtKey(generateSemanticInstanceReq);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq.setObjectName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_46374
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes = nbTemplateEngine.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ADD_TEMP_ALL_CONTENT_CALC_LOCK_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 新增模版全内容计算异步锁名称)  46423

//ModelCode: generateSemanticInstance
            TempAllContentCalcLockKeyRespDto generateSemanticInstanceRes_2 = null;
            TempAllContentCalcLockKeyReqDto generateSemanticInstanceReq_1 = new TempAllContentCalcLockKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1065620_1_46424
            }

            /*M2-生成新增模板全内容计算异步锁名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2-生成新增模板全内容计算异步锁名称-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.tempAllContentCalcLockKey(generateSemanticInstanceReq_1);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_2 != null) {
                receptionServiceReq_1.setObjectName(generateSemanticInstanceRes_2.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_46425
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_2 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("EXEC_TEMP_ALL_CONTENT_CALC_LOCK_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 执行模版全内容计算异步锁名称)  46426

//ModelCode: generateSemanticInstance
            ExecTempAllContentCalcLockKeyRespDto generateSemanticInstanceRes_4 = null;
            ExecTempAllContentCalcLockKeyReqDto generateSemanticInstanceReq_2 = new ExecTempAllContentCalcLockKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1065754_1_46428
            }

            /*M2-生成执行模板全内容计算异步锁名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_2.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2-生成执行模板全内容计算异步锁名称-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_4 = nbTemplateEngine.execTempAllContentCalcLockKey(generateSemanticInstanceReq_2);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_3 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_2 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_4 != null) {
                receptionServiceReq_2.setObjectName(generateSemanticInstanceRes_4.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_46429
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_3 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_2);


            receptionServiceRes_1 = receptionServiceRes_3;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ADD_TEMP_ALL_CONTENT_RECALC_LOCK_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 新增模版数据重计算异步锁名称)  46700

//ModelCode: generateSemanticInstance
            AddTempAllContentRecalcLockKeyRespDto generateSemanticInstanceRes_6 = null;
            AddTempAllContentRecalcLockKeyReqDto generateSemanticInstanceReq_3 = new AddTempAllContentRecalcLockKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072378_1_46701
            }

            /*M2-生成新增模版数据重计算异步锁名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_3.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2-生成新增模版数据重计算异步锁名称-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_6 = nbTemplateEngine.addTempAllContentRecalcLockKey(generateSemanticInstanceReq_3);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_4 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_3 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_6 != null) {
                receptionServiceReq_3.setObjectName(generateSemanticInstanceRes_6.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_46702
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_3.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_4 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_3);


            receptionServiceRes_1 = receptionServiceRes_4;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ADD_TARGET_CONT_DISPATCH_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 增目标内容调度锁主键)  46763

//ModelCode: generateSemanticInstance
            AddTargetContDispatchKeyRespDto generateSemanticInstanceRes_8 = null;
            AddTargetContDispatchKeyReqDto generateSemanticInstanceReq_4 = new AddTargetContDispatchKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_4.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1072822_1_46764
                generateSemanticInstanceReq_4.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072823_1_46764
            }

            /*M2生成增目标内容调度锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_4.getEntityId(), "D2获取分布式锁语义实例(公共)-M2生成增目标内容调度锁主键-内容表主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_4.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成增目标内容调度锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_8 = nbTemplateEngine.addTargetContDispatchKey(generateSemanticInstanceReq_4);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_5 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_4 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_8 != null) {
                receptionServiceReq_4.setObjectName(generateSemanticInstanceRes_8.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_46765
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_4.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_5 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_4);


            receptionServiceRes_1 = receptionServiceRes_5;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ADD_TEMP_ALL_REPORT_TASK_LOCK_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 生成全模版汇报任务锁名称)  47056

//ModelCode: generateSemanticInstance
            AddTempAllReportTaskLockKeyRespDto generateSemanticInstanceRes_10 = null;
            AddTempAllReportTaskLockKeyReqDto generateSemanticInstanceReq_5 = new AddTempAllReportTaskLockKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_5.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1078236_1_47060
            }

            /*M2生成全模版汇报任务锁名称[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_5.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成全模版汇报任务锁名称-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_10 = nbTemplateEngine.addTempAllReportTaskLockKey(generateSemanticInstanceReq_5);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_6 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_5 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_10 != null) {
                receptionServiceReq_5.setObjectName(generateSemanticInstanceRes_10.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47061
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_5.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_6 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_5);


            receptionServiceRes_1 = receptionServiceRes_6;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("TOP_IUSSE_OBJ_LOCK_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 高层下发指标锁主键)  47077

//ModelCode: generateSemanticInstance
            TopIusseObjLockKeyRespDto generateSemanticInstanceRes_12 = null;
            TopIusseObjLockKeyReqDto generateSemanticInstanceReq_6 = new TopIusseObjLockKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_6.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1078336_1_47078
            }

            /*M2生成高层下发指标锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_6.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成高层下发指标锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_12 = nbTemplateEngine.topIusseObjLockKey(generateSemanticInstanceReq_6);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_7 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_6 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_12 != null) {
                receptionServiceReq_6.setObjectName(generateSemanticInstanceRes_12.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47079
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_6.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_7 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_6);


            receptionServiceRes_1 = receptionServiceRes_7;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MID_IUSSE_OBJ_LOCK_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 中层下发指标锁主键)  47093

//ModelCode: generateSemanticInstance
            MidIusseObjLockKeyRespDto generateSemanticInstanceRes_14 = null;
            MidIusseObjLockKeyReqDto generateSemanticInstanceReq_7 = new MidIusseObjLockKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_7.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1078421_1_47095
                generateSemanticInstanceReq_7.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1078420_1_47095
            }

            /*M2生成中层下发指标锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_7.getEntityId(), "D2获取分布式锁语义实例(公共)-M2生成中层下发指标锁主键-内容表主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_7.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成中层下发指标锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_14 = nbTemplateEngine.midIusseObjLockKey(generateSemanticInstanceReq_7);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_8 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_7 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_14 != null) {
                receptionServiceReq_7.setObjectName(generateSemanticInstanceRes_14.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47096
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_7.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_8 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_7);


            receptionServiceRes_1 = receptionServiceRes_8;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("BASIC_IUSSE_OBJ_LOCK_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 基层下发指标锁主键)  47094

//ModelCode: generateSemanticInstance
            BasicIusseObjLockKeyRespDto generateSemanticInstanceRes_16 = null;
            BasicIusseObjLockKeyReqDto generateSemanticInstanceReq_8 = new BasicIusseObjLockKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_8.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1078423_1_47097
                generateSemanticInstanceReq_8.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1078422_1_47097
            }

            /*M2生成基层下发指标锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_8.getEntityId(), "D2获取分布式锁语义实例(公共)-M2生成基层下发指标锁主键-内容表主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_8.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成基层下发指标锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_16 = nbTemplateEngine.basicIusseObjLockKey(generateSemanticInstanceReq_8);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_9 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_8 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_16 != null) {
                receptionServiceReq_8.setObjectName(generateSemanticInstanceRes_16.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47098
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_8.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_9 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_8);


            receptionServiceRes_1 = receptionServiceRes_9;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("TOP_ROLLBACK_FIRST_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 高层返回第一步锁主键)  47147

//ModelCode: generateSemanticInstance
            TopRollbackFirstKeyRespDto generateSemanticInstanceRes_18 = null;
            TopRollbackFirstKeyReqDto generateSemanticInstanceReq_9 = new TopRollbackFirstKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_9.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1078574_1_47150
            }

            /*M2生成高层返回第一步锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_9.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成高层返回第一步锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_18 = nbTemplateEngine.topRollbackFirstKey(generateSemanticInstanceReq_9);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_10 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_9 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_18 != null) {
                receptionServiceReq_9.setObjectName(generateSemanticInstanceRes_18.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47151
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_9.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_10 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_9);


            receptionServiceRes_1 = receptionServiceRes_10;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MID_ROLLBACK_LAST_STEP_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 中层返回上一步锁主键)  47148

//ModelCode: generateSemanticInstance
            MidRollbackLastStepKeyRespDto generateSemanticInstanceRes_20 = null;
            MidRollbackLastStepKeyReqDto generateSemanticInstanceReq_10 = new MidRollbackLastStepKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_10.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1078576_1_47152
                generateSemanticInstanceReq_10.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1078575_1_47152
            }

            /*M2生成中层返回上一步锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_10.getEntityId(), "D2获取分布式锁语义实例(公共)-M2生成中层返回上一步锁主键-内容表主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_10.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成中层返回上一步锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_20 = nbTemplateEngine.midRollbackLastStepKey(generateSemanticInstanceReq_10);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_11 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_10 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_20 != null) {
                receptionServiceReq_10.setObjectName(generateSemanticInstanceRes_20.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47153
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_10.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_11 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_10);


            receptionServiceRes_1 = receptionServiceRes_11;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("BASIC_ROLLBACK_FIRST_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 基层返回第一步锁主键)  47149

//ModelCode: generateSemanticInstance
            BasicRollbackFirstKeyRespDto generateSemanticInstanceRes_22 = null;
            BasicRollbackFirstKeyReqDto generateSemanticInstanceReq_11 = new BasicRollbackFirstKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_11.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1078576_1_47152
                generateSemanticInstanceReq_11.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1078575_1_47152
            }

            /*M2生成基层返回第一步锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_11.getEntityId(), "D2获取分布式锁语义实例(公共)-M2生成基层返回第一步锁主键-内容表主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_11.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成基层返回第一步锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_22 = nbTemplateEngine.basicRollbackFirstKey(generateSemanticInstanceReq_11);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_12 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_11 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_22 != null) {
                receptionServiceReq_11.setObjectName(generateSemanticInstanceRes_22.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47155
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_11.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_12 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_11);


            receptionServiceRes_1 = receptionServiceRes_12;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("EXECUTE_PROGRESS_KEY"))) {
            //elseif(D2获取分布式锁语义实例(公共).模板引擎标识 等于 执行进度锁主键)  47218

//ModelCode: generateSemanticInstance
            ExecuteProgressKeyRespDto generateSemanticInstanceRes_24 = null;
            ExecuteProgressKeyReqDto generateSemanticInstanceReq_12 = new ExecuteProgressKeyReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_12.setEntityId(reqDto.getConEntityId());//SimpleFieldAssign//sourceId:1079136_1_47219
                generateSemanticInstanceReq_12.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1079135_1_47219
            }

            /*M2生成执行进度锁主键[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_12.getEntityId(), "D2获取分布式锁语义实例(公共)-M2生成执行进度锁主键-内容表主键ID不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_12.getEvaluationTemplateId(), "D2获取分布式锁语义实例(公共)-M2生成执行进度锁主键-冗余评价模板ID不能为空", false);
            generateSemanticInstanceRes_24 = nbTemplateEngine.executeProgressKey(generateSemanticInstanceReq_12);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_13 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_12 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_24 != null) {
                receptionServiceReq_12.setObjectName(generateSemanticInstanceRes_24.getObjectName());//SimpleFieldAssign//sourceId:1065264_1_47220
            }

            /*M2-接收出参字段值[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_12.getObjectName(), "D2获取分布式锁语义实例(公共)-M2-接收出参字段值-对象名称不能为空", false);
            receptionServiceRes_13 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_12);


            receptionServiceRes_1 = receptionServiceRes_13;
        }
        ObtainLockSemanticInstanceComRespDto retData = new ObtainLockSemanticInstanceComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setObjectName(receptionServiceRes_1.getObjectName());//SimpleFieldAssign//sourceId:1065266_1
        }


        return retData;
    }

    /**
     * D2生成第三方问答问题语义实例(公共)[7357]
     * gen by moon at 12/25/2023, 1:28:41 AM
     */
    @Trace(operationName = "D2生成第三方问答问题语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateThirdPartyIntelligentQaSemanticInstanceComRespDto generateThirdPartyIntelligentQaSemanticInstanceCom(GenerateThirdPartyIntelligentQaSemanticInstanceComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_QA_CONTENT"))) {
            //if(D2生成第三方问答问题语义实例(公共).模板引擎标识 等于 汇报问答提问内容)  48192

//ModelCode: generateSemanticInstance
            ReportQaContentRespDto generateSemanticInstanceRes = null;
            ReportQaContentReqDto generateSemanticInstanceReq = new ReportQaContentReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setProgressValue(reqDto.getProgressValue() != null ? Double.valueOf(reqDto.getProgressValue()) : null);//SimpleFieldAssign//sourceId:1107843_1_48193
                generateSemanticInstanceReq.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1108735_1_48193
                generateSemanticInstanceReq.setObjectName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1108740_1_48193
                generateSemanticInstanceReq.setProgressFromLastRatio(reqDto.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:1107840_1_48193
                generateSemanticInstanceReq.setProgressValueUnit(reqDto.getProgressValueUnit());//SimpleFieldAssign//sourceId:1108737_1_48193
                generateSemanticInstanceReq.setActualValue(reqDto.getActualValue());//SimpleFieldAssign//sourceId:1107837_1_48193
                generateSemanticInstanceReq.setFromLastTargetLiftRatio(reqDto.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:1107839_1_48193
                generateSemanticInstanceReq.setActualValueUnit(reqDto.getActualValueUnit());//SimpleFieldAssign//sourceId:1108736_1_48193
                generateSemanticInstanceReq.setReportScoreValue(reqDto.getReportScoreValue());//SimpleFieldAssign//sourceId:1107875_1_48193
                generateSemanticInstanceReq.setFromLastRatioReportScore(reqDto.getFromLastRatioReportScore());//SimpleFieldAssign//sourceId:1107876_1_48193
                generateSemanticInstanceReq.setReportScoreUnit(reqDto.getReportScoreUnit());//SimpleFieldAssign//sourceId:1108742_1_48193
                generateSemanticInstanceReq.setReach(reqDto.getReach());//SimpleFieldAssign//sourceId:1107838_1_48193
                generateSemanticInstanceReq.setActualFromLastTimeRatio(reqDto.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:1107841_1_48193
                generateSemanticInstanceReq.setReachUnit(reqDto.getReachUnit());//SimpleFieldAssign//sourceId:1108738_1_48193
            }

            /*M2生成汇报问答提问内容[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes = nbTemplateEngine.reportQaContent(generateSemanticInstanceReq);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq.setMessageContent(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:1107810_1_48194
            }

            /*M2接收生成的消息内容字段[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getMessageContent(), "D2生成第三方问答问题语义实例(公共)-M2接收生成的消息内容字段-消息内容不能为空", false);
            receptionServiceRes = nbTemplateEngine.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        }
        GenerateThirdPartyIntelligentQaSemanticInstanceComRespDto retData = new GenerateThirdPartyIntelligentQaSemanticInstanceComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setMessageContent(receptionServiceRes_1.getMessageContent());//SimpleFieldAssign//sourceId:1107813_1
        }


        return retData;
    }

    /**
     * 11111D2生成消息标题及内容语义实例(公共)[7486]
     * gen by moon at 1/16/2024, 6:15:15 PM
     */
    @Trace(operationName = "11111D2生成消息标题及内容语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateMsgTitleAndContentSemanticInstanceComRespDto generateMsgTitleAndContentSemanticInstanceCom(GenerateMsgTitleAndContentSemanticInstanceComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("NEW_REPORT_TASK_MSG"))) {
            //if(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成新汇报任务消息内容)  49525

//ModelCode: generateSemanticInstance
            NewReportTaskMsgTitleRespDto generateSemanticInstanceRes = null;
            NewReportTaskMsgTitleReqDto generateSemanticInstanceReq = new NewReportTaskMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1157475_1_49535
                generateSemanticInstanceReq.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1157476_1_49535
            }

            /*M2生成新汇报任务消息标题[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes = nbTemplateEngine.newReportTaskMsgTitle(generateSemanticInstanceReq);


//ModelCode: generateSemanticInstance
            NewReportTaskMsgRespDto generateSemanticInstanceRes_2 = null;
            NewReportTaskMsgReqDto generateSemanticInstanceReq_1 = new NewReportTaskMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1190591_1_49534
                generateSemanticInstanceReq_1.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1157474_1_49534
            }

            /*M2生成新汇报任务消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成新汇报任务消息内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_1.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成新汇报任务消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.newReportTaskMsg(generateSemanticInstanceReq_1);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq.setCustomField(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_49536
            }
            if (generateSemanticInstanceRes_2 != null) {
                receptionServiceReq.setCustomField1(generateSemanticInstanceRes_2.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_49536
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes = nbTemplateEngine.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_TASK_WILL_OVERDUE_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成汇报即将逾期消息内容)  49528

//ModelCode: generateSemanticInstance
            ReportTaskWillOverdueMsgTitleRespDto generateSemanticInstanceRes_4 = null;
            ReportTaskWillOverdueMsgTitleReqDto generateSemanticInstanceReq_2 = new ReportTaskWillOverdueMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1157471_1_49537
                generateSemanticInstanceReq_2.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1157472_1_49537
            }

            /*M2生成汇报即将逾期消息标题[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes_4 = nbTemplateEngine.reportTaskWillOverdueMsgTitle(generateSemanticInstanceReq_2);


//ModelCode: generateSemanticInstance
            ReportTaskWillOverdueMsgRespDto generateSemanticInstanceRes_6 = null;
            ReportTaskWillOverdueMsgReqDto generateSemanticInstanceReq_3 = new ReportTaskWillOverdueMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_3.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1162097_1_49538
                generateSemanticInstanceReq_3.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1157469_1_49538
                generateSemanticInstanceReq_3.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1157470_1_49538
            }

            /*M2生成汇报即将逾期消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_3.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报即将逾期消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_3.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报即将逾期消息内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_3.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报即将逾期消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_6 = nbTemplateEngine.reportTaskWillOverdueMsg(generateSemanticInstanceReq_3);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_4 != null) {
                receptionServiceReq_1.setCustomField(generateSemanticInstanceRes_4.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_49539
            }
            if (generateSemanticInstanceRes_6 != null) {
                receptionServiceReq_1.setCustomField1(generateSemanticInstanceRes_6.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_49539
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_2 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_TASK_OVERDUE_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成汇报已逾期消息内容)  49530

//ModelCode: generateSemanticInstance
            ReportTaskOverdueMsgTitleRespDto generateSemanticInstanceRes_8 = null;
            ReportTaskOverdueMsgTitleReqDto generateSemanticInstanceReq_4 = new ReportTaskOverdueMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_4.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1158411_1_49540
                generateSemanticInstanceReq_4.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1158412_1_49540
            }

            /*M2生成汇报已逾期消息标题[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes_8 = nbTemplateEngine.reportTaskOverdueMsgTitle(generateSemanticInstanceReq_4);


//ModelCode: generateSemanticInstance
            ReportTaskOverdueMsgRespDto generateSemanticInstanceRes_10 = null;
            ReportTaskOverdueMsgReqDto generateSemanticInstanceReq_5 = new ReportTaskOverdueMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_5.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1162098_1_49541
                generateSemanticInstanceReq_5.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1158413_1_49541
                generateSemanticInstanceReq_5.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1158414_1_49541
            }

            /*M2生成汇报已逾期消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_5.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报已逾期消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_5.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报已逾期消息内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_5.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报已逾期消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_10 = nbTemplateEngine.reportTaskOverdueMsg(generateSemanticInstanceReq_5);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_3 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_2 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_8 != null) {
                receptionServiceReq_2.setCustomField(generateSemanticInstanceRes_8.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_49542
            }
            if (generateSemanticInstanceRes_10 != null) {
                receptionServiceReq_2.setCustomField1(generateSemanticInstanceRes_10.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_49542
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_3 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_2);


            receptionServiceRes_1 = receptionServiceRes_3;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("NEW_TARGET_ARRANGE_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成新目标安排消息内容)  49532

//ModelCode: generateSemanticInstance
            NewTargetArrangeMsgTitleRespDto generateSemanticInstanceRes_12 = null;
            NewTargetArrangeMsgTitleReqDto generateSemanticInstanceReq_6 = new NewTargetArrangeMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_6.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1158420_1_49543
            }

            /*M2生成新目标安排消息标题[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes_12 = nbTemplateEngine.newTargetArrangeMsgTitle(generateSemanticInstanceReq_6);


//ModelCode: generateSemanticInstance
            NewTargetArrangeMsgRespDto generateSemanticInstanceRes_14 = null;
            NewTargetArrangeMsgReqDto generateSemanticInstanceReq_7 = new NewTargetArrangeMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_7.setDutyBodyName(reqDto.getDutyBodyName());//SimpleFieldAssign//sourceId:1184559_1_49544
                generateSemanticInstanceReq_7.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1158422_1_49544
            }

            /*M2生成新目标安排消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_7.getDutyBodyName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成新目标安排消息内容-责任主体名称 不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_7.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成新目标安排消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_14 = nbTemplateEngine.newTargetArrangeMsg(generateSemanticInstanceReq_7);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_4 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_3 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_12 != null) {
                receptionServiceReq_3.setCustomField(generateSemanticInstanceRes_12.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_49545
            }
            if (generateSemanticInstanceRes_14 != null) {
                receptionServiceReq_3.setCustomField1(generateSemanticInstanceRes_14.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_49545
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_4 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_3);


            receptionServiceRes_1 = receptionServiceRes_4;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_TASK_MSG_TITLE"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 汇报任务提交消息标题)  49858

//ModelCode: generateSemanticInstance
            ReportTaskMsgTitleRespDto generateSemanticInstanceRes_16 = null;
            ReportTaskMsgTitleReqDto generateSemanticInstanceReq_8 = new ReportTaskMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_8.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1168679_1_49859
                generateSemanticInstanceReq_8.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1168678_1_49859
            }

            /*M2生成汇报任务提交消息标题[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_8.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务提交消息标题-目标内容名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_8.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务提交消息标题-周期名称不能为空", false);
            generateSemanticInstanceRes_16 = nbTemplateEngine.reportTaskMsgTitle(generateSemanticInstanceReq_8);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_5 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_4 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_16 != null) {
                receptionServiceReq_4.setCustomField(generateSemanticInstanceRes_16.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_49860
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_5 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_4);


            receptionServiceRes_1 = receptionServiceRes_5;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_TASK_TO_BE_EVALUATEED_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 汇报任务待评价消息内容)  50129

//ModelCode: generateSemanticInstance
            ReportTaskToBeEvaluateedMsgTitleRespDto generateSemanticInstanceRes_18 = null;
            ReportTaskToBeEvaluateedMsgTitleReqDto generateSemanticInstanceReq_9 = new ReportTaskToBeEvaluateedMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_9.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1177626_1_50202
                generateSemanticInstanceReq_9.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1177627_1_50202
            }

            /*M2生成汇报任务待评价消息标题[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_9.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待评价消息标题-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_9.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待评价消息标题-目标内容名称不能为空", false);
            generateSemanticInstanceRes_18 = nbTemplateEngine.reportTaskToBeEvaluateedMsgTitle(generateSemanticInstanceReq_9);


//ModelCode: generateSemanticInstance
            ReportTaskToBeEvaluateedMsgRespDto generateSemanticInstanceRes_20 = null;
            ReportTaskToBeEvaluateedMsgReqDto generateSemanticInstanceReq_10 = new ReportTaskToBeEvaluateedMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_10.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1177570_1_50203
                generateSemanticInstanceReq_10.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1177571_1_50203
            }

            /*M2生成汇报任务待评价消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_10.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待评价消息内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_10.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待评价消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_20 = nbTemplateEngine.reportTaskToBeEvaluateedMsg(generateSemanticInstanceReq_10);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_6 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_5 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_18 != null) {
                receptionServiceReq_5.setCustomField(generateSemanticInstanceRes_18.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_50132
            }
            if (generateSemanticInstanceRes_20 != null) {
                receptionServiceReq_5.setCustomField1(generateSemanticInstanceRes_20.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_50132
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_6 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_5);


            receptionServiceRes_1 = receptionServiceRes_6;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("URGE_TARGET_ARRANGE_MSG_TEMP") || reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MID_BASIC_URGE_TARGET_ARRANGE_MSG_TEMP"))) {
            //elseif((D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 催办目标安排 or D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 中基层催办目标安排))  50133

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_7 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_6 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_6.setCustomField("目标安排催办");//CUSTOM_CONVENTION//sourceId:1177567_1_50201

            /*M2约定催办消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_6.getCustomField(), "11111D2生成消息标题及内容语义实例(公共)-M2约定催办消息标题-自定义字段不能为空", false);
            receptionServiceRes_7 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_6);


            if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("URGE_TARGET_ARRANGE_MSG_TEMP"))) {
                //if(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 催办目标安排)  50147

//ModelCode: generateSemanticInstance
                UrgeTargetArrangeMsgTempRespDto generateSemanticInstanceRes_22 = null;
                UrgeTargetArrangeMsgTempReqDto generateSemanticInstanceReq_11 = new UrgeTargetArrangeMsgTempReqDto();
                if (reqDto != null) {
                    generateSemanticInstanceReq_11.setDeptShortName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1177154_1_50148
                }

                /*M2生成催办目标安排消息内容[5031]  解析语义模板，生成模板实例 */
                Assert.isNull(generateSemanticInstanceReq_11.getDeptShortName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成催办目标安排消息内容-部门简称不能为空", false);
                generateSemanticInstanceRes_22 = nbTemplateEngine.urgeTargetArrangeMsgTemp(generateSemanticInstanceReq_11);


//ModelCode: receptionService
                ObtainReceiveFieldsRespDto receptionServiceRes_9 = null;
                ObtainReceiveFieldsReqDto receptionServiceReq_7 = new ObtainReceiveFieldsReqDto();
                if (receptionServiceRes_7 != null) {
                    receptionServiceReq_7.setCustomField(receptionServiceRes_7.getCustomField());//SimpleFieldAssign//sourceId:1157236_1_50149
                }
                if (generateSemanticInstanceRes_22 != null) {
                    receptionServiceReq_7.setCustomField1(generateSemanticInstanceRes_22.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_50149
                }

                /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

                receptionServiceRes_9 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_7);


                receptionServiceRes_1 = receptionServiceRes_9;
            } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("MID_BASIC_URGE_TARGET_ARRANGE_MSG_TEMP") && reqDto != null && reqDto.getComNumField() != null)) {
                //elseif((D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 中基层催办目标安排 and D2生成消息标题及内容语义实例(公共).通用数值字段（整数型） 值不等于空 ))  50150

//ModelCode: generateSemanticInstance
                MidBasicUrgeTargetArrangeMsgTempRespDto generateSemanticInstanceRes_24 = null;
                MidBasicUrgeTargetArrangeMsgTempReqDto generateSemanticInstanceReq_12 = new MidBasicUrgeTargetArrangeMsgTempReqDto();
                if (reqDto != null) {
                    generateSemanticInstanceReq_12.setDeptShortName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1180177_1_50151
                    generateSemanticInstanceReq_12.setComNumField(reqDto.getComNumField());//SimpleFieldAssign//sourceId:1177916_1_50151
                }

                /*M2生成中基层催办目标安排消息[5031]  解析语义模板，生成模板实例 */
                Assert.isNull(generateSemanticInstanceReq_12.getDeptShortName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成中基层催办目标安排消息-部门简称不能为空", false);
                Assert.isNull(generateSemanticInstanceReq_12.getComNumField(), "11111D2生成消息标题及内容语义实例(公共)-M2生成中基层催办目标安排消息-通用数值字段（整数型）不能为空", false);
                generateSemanticInstanceRes_24 = nbTemplateEngine.midBasicUrgeTargetArrangeMsgTemp(generateSemanticInstanceReq_12);


//ModelCode: receptionService
                ObtainReceiveFieldsRespDto receptionServiceRes_10 = null;
                ObtainReceiveFieldsReqDto receptionServiceReq_8 = new ObtainReceiveFieldsReqDto();
                if (receptionServiceRes_7 != null) {
                    receptionServiceReq_8.setCustomField(receptionServiceRes_7.getCustomField());//SimpleFieldAssign//sourceId:1157236_1_50152
                }
                if (generateSemanticInstanceRes_24 != null) {
                    receptionServiceReq_8.setCustomField1(generateSemanticInstanceRes_24.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_50152
                }

                /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

                receptionServiceRes_10 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_8);


                receptionServiceRes_1 = receptionServiceRes_10;
            }
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_TASK_TO_BE_EXAMINE_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 汇报任务待审核消息内容)  50134

//ModelCode: generateSemanticInstance
            ReportTaskToBeExamineMsgTitleRespDto generateSemanticInstanceRes_26 = null;
            ReportTaskToBeExamineMsgTitleReqDto generateSemanticInstanceReq_13 = new ReportTaskToBeExamineMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_13.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1177847_1_50141
                generateSemanticInstanceReq_13.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1177848_1_50141
            }

            /*M2生成汇报任务待审核消息标题[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_13.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待审核消息标题-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_13.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待审核消息标题-目标内容名称不能为空", false);
            generateSemanticInstanceRes_26 = nbTemplateEngine.reportTaskToBeExamineMsgTitle(generateSemanticInstanceReq_13);


//ModelCode: generateSemanticInstance
            ReportTaskToBeExamineMsgRespDto generateSemanticInstanceRes_28 = null;
            ReportTaskToBeExamineMsgReqDto generateSemanticInstanceReq_14 = new ReportTaskToBeExamineMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_14.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1177845_1_50142
                generateSemanticInstanceReq_14.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1177846_1_50142
            }

            /*M2生成汇报任务待审核消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_14.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待审核消息内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_14.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务待审核消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_28 = nbTemplateEngine.reportTaskToBeExamineMsg(generateSemanticInstanceReq_14);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_11 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_9 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_26 != null) {
                receptionServiceReq_9.setCustomField(generateSemanticInstanceRes_26.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_50143
            }
            if (generateSemanticInstanceRes_28 != null) {
                receptionServiceReq_9.setCustomField1(generateSemanticInstanceRes_28.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_50143
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_11 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_9);


            receptionServiceRes_1 = receptionServiceRes_11;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_TASK_REJECT_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 汇报任务审核驳回消息内容)  50135

//ModelCode: generateSemanticInstance
            ReportTaskRejectMsgTitleRespDto generateSemanticInstanceRes_30 = null;
            ReportTaskRejectMsgTitleReqDto generateSemanticInstanceReq_15 = new ReportTaskRejectMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_15.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1177851_1_50144
                generateSemanticInstanceReq_15.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1177852_1_50144
            }

            /*M2生成汇报任务审核驳回消息标题[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_15.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务审核驳回消息标题-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_15.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务审核驳回消息标题-目标内容名称不能为空", false);
            generateSemanticInstanceRes_30 = nbTemplateEngine.reportTaskRejectMsgTitle(generateSemanticInstanceReq_15);


//ModelCode: generateSemanticInstance
            ReportTaskRejectMsgRespDto generateSemanticInstanceRes_32 = null;
            ReportTaskRejectMsgReqDto generateSemanticInstanceReq_16 = new ReportTaskRejectMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_16.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1177849_1_50145
                generateSemanticInstanceReq_16.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1177850_1_50145
                generateSemanticInstanceReq_16.setReportTaskRejectReason(reqDto.getReportTaskRejectReason());//SimpleFieldAssign//sourceId:1179692_1_50145
            }

            /*M2生成汇报任务审核驳回内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_16.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务审核驳回内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_16.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务审核驳回内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_32 = nbTemplateEngine.reportTaskRejectMsg(generateSemanticInstanceReq_16);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_12 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_10 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_30 != null) {
                receptionServiceReq_10.setCustomField(generateSemanticInstanceRes_30.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_50146
            }
            if (generateSemanticInstanceRes_32 != null) {
                receptionServiceReq_10.setCustomField1(generateSemanticInstanceRes_32.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_50146
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_12 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_10);


            receptionServiceRes_1 = receptionServiceRes_12;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("UPDATE_TARGET_VALUE_MSG_TEMP"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 修改目标值消息)  50167

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_13 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_11 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_11.setCustomField("请注意！您负责的观测目标值有调整");//CUSTOM_CONVENTION//sourceId:1178929_1_50170

            /*M约定目标值调整通知标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_11.getCustomField(), "11111D2生成消息标题及内容语义实例(公共)-M约定目标值调整通知标题-自定义字段不能为空", false);
            receptionServiceRes_13 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_11);


//ModelCode: generateSemanticInstance
            UpdateTargetValueMsgTempRespDto generateSemanticInstanceRes_34 = null;
            UpdateTargetValueMsgTempReqDto generateSemanticInstanceReq_17 = new UpdateTargetValueMsgTempReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_17.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1178574_1_50168
                generateSemanticInstanceReq_17.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1178575_1_50168
            }

            /*M2生成修改目标值消息[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_17.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成修改目标值消息-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_17.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成修改目标值消息-目标内容名称不能为空", false);
            generateSemanticInstanceRes_34 = nbTemplateEngine.updateTargetValueMsgTemp(generateSemanticInstanceReq_17);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_15 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_12 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_13 != null) {
                receptionServiceReq_12.setCustomField(receptionServiceRes_13.getCustomField());//SimpleFieldAssign//sourceId:1157236_1_50169
            }
            if (generateSemanticInstanceRes_34 != null) {
                receptionServiceReq_12.setCustomField1(generateSemanticInstanceRes_34.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_50169
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_15 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_12);


            receptionServiceRes_1 = receptionServiceRes_15;
        }
// TODO: 2023/10/22 不要合
        else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WEBSOCKET_MSG_THEME"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 WEBSOCKET消息主题)  50545

//ModelCode: generateSemanticInstance
            WebsocketMsgThemeRespDto generateSemanticInstanceRes_36 = null;
            WebsocketMsgThemeReqDto generateSemanticInstanceReq_18 = new WebsocketMsgThemeReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_18.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1193289_1_50546
            }

            /*M2-生成websocket消息主题[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_18.getOriginalRoleMemberId(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成websocket消息主题-身份人员ID不能为空", false);
            generateSemanticInstanceRes_36 = nbTemplateEngine.websocketMsgTheme(generateSemanticInstanceReq_18);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_16 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_13 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_36 != null) {
                receptionServiceReq_13.setCustomField(generateSemanticInstanceRes_36.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_50547
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_16 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_13);


            receptionServiceRes_1 = receptionServiceRes_16;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REPORT_TASK_REMIND_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成汇报任务提醒消息内容)  50910

//ModelCode: generateSemanticInstance
            ReportTaskRemindMsgTitleRespDto generateSemanticInstanceRes_38 = null;
            ReportTaskRemindMsgTitleReqDto generateSemanticInstanceReq_19 = new ReportTaskRemindMsgTitleReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_19.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1199717_1_50911
                generateSemanticInstanceReq_19.setTargetContentName(reqDto.getTargetContentTitleName());//SimpleFieldAssign//sourceId:1199718_1_50911
            }

            /*M2生成汇报任务提醒消息标题[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_19.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务提醒消息标题-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_19.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务提醒消息标题-目标内容名称不能为空", false);
            generateSemanticInstanceRes_38 = nbTemplateEngine.reportTaskRemindMsgTitle(generateSemanticInstanceReq_19);


//ModelCode: generateSemanticInstance
            ReportTaskRemindMsgRespDto generateSemanticInstanceRes_40 = null;
            ReportTaskRemindMsgReqDto generateSemanticInstanceReq_20 = new ReportTaskRemindMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_20.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1199715_1_50912
                generateSemanticInstanceReq_20.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1199716_1_50912
            }

            /*M2生成汇报任务提醒消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_20.getCycleStandardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务提醒消息内容-周期名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_20.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务提醒消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_40 = nbTemplateEngine.reportTaskRemindMsg(generateSemanticInstanceReq_20);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_17 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_14 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_38 != null) {
                receptionServiceReq_14.setCustomField(generateSemanticInstanceRes_38.getObjectName());//SimpleFieldAssign//sourceId:1157236_1_50913
            }
            if (generateSemanticInstanceRes_40 != null) {
                receptionServiceReq_14.setCustomField1(generateSemanticInstanceRes_40.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_50913
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_17 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_14);


            receptionServiceRes_1 = receptionServiceRes_17;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REMIND_SIGN_WORK_TASK_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成提醒签收工作任务消息内容)  52120

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_18 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_15 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_15.setCustomText("您有待签收的工作任务");//CUSTOM_CONVENTION//sourceId:1260347_1_52284

            /*M2-生成提醒签收工作任务消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_15.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成提醒签收工作任务消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_18 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_15);


//ModelCode: generateSemanticInstance
            RemindSignWorkTaskMsgRespDto generateSemanticInstanceRes_42 = null;
            RemindSignWorkTaskMsgReqDto generateSemanticInstanceReq_21 = new RemindSignWorkTaskMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_21.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1356000_1_52122
                generateSemanticInstanceReq_21.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1263555_1_52122
            }

            /*M2生成提醒签收工作任务消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_21.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成提醒签收工作任务消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_21.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成提醒签收工作任务消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_42 = nbTemplateEngine.remindSignWorkTaskMsg(generateSemanticInstanceReq_21);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_20 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_16 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_18 != null) {
                receptionServiceReq_16.setCustomField(receptionServiceRes_18.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52123
            }
            if (generateSemanticInstanceRes_42 != null) {
                receptionServiceReq_16.setCustomField1(generateSemanticInstanceRes_42.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52123
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_20 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_16);


            receptionServiceRes_1 = receptionServiceRes_20;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REMIND_HANDLE_WORK_TASK_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成督办工作任务消息内容)  52121

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_21 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_17 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_17.setCustomText("您有未完成的工作任务，请及时处理");//CUSTOM_CONVENTION//sourceId:1260704_1_52285

            /*M2-生成督办工作任务消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_17.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成督办工作任务消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_21 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_17);


//ModelCode: generateSemanticInstance
            RemindHandleWorkTaskMsgRespDto generateSemanticInstanceRes_44 = null;
            RemindHandleWorkTaskMsgReqDto generateSemanticInstanceReq_22 = new RemindHandleWorkTaskMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_22.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355991_1_52124
                generateSemanticInstanceReq_22.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1263554_1_52124
            }

            /*M2-生成督办工作任务消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_22.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成督办工作任务消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_22.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成督办工作任务消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_44 = nbTemplateEngine.remindHandleWorkTaskMsg(generateSemanticInstanceReq_22);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_23 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_18 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_21 != null) {
                receptionServiceReq_18.setCustomField(receptionServiceRes_21.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52125
            }
            if (generateSemanticInstanceRes_44 != null) {
                receptionServiceReq_18.setCustomField1(generateSemanticInstanceRes_44.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52125
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_23 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_18);


            receptionServiceRes_1 = receptionServiceRes_23;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("REMIND_HANDLE_PROBLEM_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成督办问题消息内容)  52126

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_24 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_19 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_19.setCustomText("您有未解决的问题，请及时处理");//CUSTOM_CONVENTION//sourceId:1261060_1_52286

            /*M2-生成督办问题消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_19.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成督办问题消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_24 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_19);


//ModelCode: generateSemanticInstance
            RemindHandleProblemMsgRespDto generateSemanticInstanceRes_46 = null;
            RemindHandleProblemMsgReqDto generateSemanticInstanceReq_23 = new RemindHandleProblemMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_23.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355992_1_52294
                generateSemanticInstanceReq_23.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1263556_1_52294
            }

            /*M2生成督办问题消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_23.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成督办问题消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_23.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成督办问题消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_46 = nbTemplateEngine.remindHandleProblemMsg(generateSemanticInstanceReq_23);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_26 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_20 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_24 != null) {
                receptionServiceReq_20.setCustomField(receptionServiceRes_24.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52128
            }
            if (generateSemanticInstanceRes_46 != null) {
                receptionServiceReq_20.setCustomField1(generateSemanticInstanceRes_46.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52128
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_26 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_20);


            receptionServiceRes_1 = receptionServiceRes_26;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("GENERATE_TO_BE_SIGNED_WORK_TASK_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成待签收工作任务消息内容)  52263

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_27 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_21 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_21.setCustomText("您有新的工作任务，请及时签收");//CUSTOM_CONVENTION//sourceId:1263539_1_52287

            /*M2-生成待签收工作任务消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_21.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成待签收工作任务消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_27 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_21);


//ModelCode: generateSemanticInstance
            GenerateToBeSignedWorkTaskMsgRespDto generateSemanticInstanceRes_48 = null;
            GenerateToBeSignedWorkTaskMsgReqDto generateSemanticInstanceReq_24 = new GenerateToBeSignedWorkTaskMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_24.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355993_1_52270
                generateSemanticInstanceReq_24.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1259616_1_52270
            }

            /*M2-生成待签收工作任务消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_24.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成待签收工作任务消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_24.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成待签收工作任务消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_48 = nbTemplateEngine.generateToBeSignedWorkTaskMsg(generateSemanticInstanceReq_24);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_29 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_22 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_27 != null) {
                receptionServiceReq_22.setCustomField(receptionServiceRes_27.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52277
            }
            if (generateSemanticInstanceRes_48 != null) {
                receptionServiceReq_22.setCustomField1(generateSemanticInstanceRes_48.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52277
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_29 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_22);


            receptionServiceRes_1 = receptionServiceRes_29;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("GENERATE_ONGOING_WORK_TASK_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成进行中工作任务消息内容)  52264

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_30 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_23 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_23.setCustomText("你有新的工作任务，请及时处理");//CUSTOM_CONVENTION//sourceId:1263542_1_52288

            /*M2-生成进行中工作任务消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_23.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成进行中工作任务消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_30 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_23);


//ModelCode: generateSemanticInstance
            GenerateOngoingWorkTaskMsgRespDto generateSemanticInstanceRes_50 = null;
            GenerateOngoingWorkTaskMsgReqDto generateSemanticInstanceReq_25 = new GenerateOngoingWorkTaskMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_25.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355994_1_52271
                generateSemanticInstanceReq_25.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1259959_1_52271
            }

            /*M2-生成进行中工作任务消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_25.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成进行中工作任务消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_25.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成进行中工作任务消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_50 = nbTemplateEngine.generateOngoingWorkTaskMsg(generateSemanticInstanceReq_25);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_32 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_24 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_30 != null) {
                receptionServiceReq_24.setCustomField(receptionServiceRes_30.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52278
            }
            if (generateSemanticInstanceRes_50 != null) {
                receptionServiceReq_24.setCustomField1(generateSemanticInstanceRes_50.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52278
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_32 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_24);


            receptionServiceRes_1 = receptionServiceRes_32;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_WILL_OVERDUE_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成工作任务即将逾期消息内容)  52265

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_33 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_25 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_25.setCustomText("您负责的工作任务即将逾期，请及时处理");//CUSTOM_CONVENTION//sourceId:1263545_1_52289

            /*M2-生成工作任务即将逾期消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_25.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务即将逾期消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_33 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_25);


//ModelCode: generateSemanticInstance
            WorkTaskWillOverdueMsgRespDto generateSemanticInstanceRes_52 = null;
            WorkTaskWillOverdueMsgReqDto generateSemanticInstanceReq_26 = new WorkTaskWillOverdueMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_26.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355995_1_52272
                generateSemanticInstanceReq_26.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1259960_1_52272
            }

            /*M2-生成工作任务即将逾期消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_26.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务即将逾期消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_26.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务即将逾期消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_52 = nbTemplateEngine.workTaskWillOverdueMsg(generateSemanticInstanceReq_26);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_35 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_26 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_33 != null) {
                receptionServiceReq_26.setCustomField(receptionServiceRes_33.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52279
            }
            if (generateSemanticInstanceRes_52 != null) {
                receptionServiceReq_26.setCustomField1(generateSemanticInstanceRes_52.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52279
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_35 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_26);


            receptionServiceRes_1 = receptionServiceRes_35;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_OVERDUE_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成工作任务已逾期消息内容)  52266

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_36 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_27 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_27.setCustomText("您负责的工作任务已逾期，请赶快处理");//CUSTOM_CONVENTION//sourceId:1263549_1_52290

            /*M2-生成工作任务已逾期消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_27.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务已逾期消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_36 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_27);


//ModelCode: generateSemanticInstance
            WorkTaskOverdueMsgRespDto generateSemanticInstanceRes_54 = null;
            WorkTaskOverdueMsgReqDto generateSemanticInstanceReq_27 = new WorkTaskOverdueMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_27.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355996_1_52273
                generateSemanticInstanceReq_27.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1259961_1_52273
            }

            /*M2-生成工作任务已逾期消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_27.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务已逾期消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_27.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务已逾期消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_54 = nbTemplateEngine.workTaskOverdueMsg(generateSemanticInstanceReq_27);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_38 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_28 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_36 != null) {
                receptionServiceReq_28.setCustomField(receptionServiceRes_36.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52280
            }
            if (generateSemanticInstanceRes_54 != null) {
                receptionServiceReq_28.setCustomField1(generateSemanticInstanceRes_54.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52280
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_38 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_28);


            receptionServiceRes_1 = receptionServiceRes_38;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("GENERATE_PROBLEM_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成问题消息内容)  52267

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_39 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_29 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_29.setCustomText("您有新的问题，请及时解决");//CUSTOM_CONVENTION//sourceId:1263548_1_52291

            /*M2-生成问题消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_29.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_39 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_29);


//ModelCode: generateSemanticInstance
            GenerateProblemMsgRespDto generateSemanticInstanceRes_56 = null;
            GenerateProblemMsgReqDto generateSemanticInstanceReq_28 = new GenerateProblemMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_28.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355997_1_52274
                generateSemanticInstanceReq_28.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1259962_1_52274
            }

            /*M2-生成问题消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_28.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_28.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_56 = nbTemplateEngine.generateProblemMsg(generateSemanticInstanceReq_28);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_41 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_30 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_39 != null) {
                receptionServiceReq_30.setCustomField(receptionServiceRes_39.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52281
            }
            if (generateSemanticInstanceRes_56 != null) {
                receptionServiceReq_30.setCustomField1(generateSemanticInstanceRes_56.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52281
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_41 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_30);


            receptionServiceRes_1 = receptionServiceRes_41;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("PROBLEM_WILL_OVERTIME_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成问题即将超时消息内容)  52268

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_42 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_31 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_31.setCustomText("您负责的问题即将超时，请及时解决");//CUSTOM_CONVENTION//sourceId:1263550_1_52292

            /*M2-生成问题即将超时消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_31.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题即将超时消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_42 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_31);


//ModelCode: generateSemanticInstance
            ProblemWillOvertimeMsgRespDto generateSemanticInstanceRes_58 = null;
            ProblemWillOvertimeMsgReqDto generateSemanticInstanceReq_29 = new ProblemWillOvertimeMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_29.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355998_1_52275
                generateSemanticInstanceReq_29.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1259963_1_52275
            }

            /*M2-生成问题即将超时消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_29.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题即将超时消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_29.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题即将超时消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_58 = nbTemplateEngine.problemWillOvertimeMsg(generateSemanticInstanceReq_29);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_44 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_32 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_42 != null) {
                receptionServiceReq_32.setCustomField(receptionServiceRes_42.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52282
            }
            if (generateSemanticInstanceRes_58 != null) {
                receptionServiceReq_32.setCustomField1(generateSemanticInstanceRes_58.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52282
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_44 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_32);


            receptionServiceRes_1 = receptionServiceRes_44;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("PROBLEM_OVERTIME_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成问题已超时消息内容)  52269

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_45 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_33 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_33.setCustomText("您负责的问题已超时，请赶快解决");//CUSTOM_CONVENTION//sourceId:1263552_1_52293

            /*M2-生成问题已超时消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_33.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题已超时消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_45 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_33);


//ModelCode: generateSemanticInstance
            ProblemOvertimeMsgRespDto generateSemanticInstanceRes_60 = null;
            ProblemOvertimeMsgReqDto generateSemanticInstanceReq_30 = new ProblemOvertimeMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_30.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1355999_1_52276
                generateSemanticInstanceReq_30.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1259964_1_52276
            }

            /*M2-生成问题已超时消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_30.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题已超时消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_30.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成问题已超时消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_60 = nbTemplateEngine.problemOvertimeMsg(generateSemanticInstanceReq_30);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_47 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_34 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_45 != null) {
                receptionServiceReq_34.setCustomField(receptionServiceRes_45.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_52283
            }
            if (generateSemanticInstanceRes_60 != null) {
                receptionServiceReq_34.setCustomField1(generateSemanticInstanceRes_60.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_52283
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_47 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_34);


            receptionServiceRes_1 = receptionServiceRes_47;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_REPORT_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成工作任务汇报消息内容)  54120

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_48 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_35 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_35.setCustomText("工作任务汇报");//CUSTOM_CONVENTION//sourceId:1331756_1_54222

            /*M2-生成工作任务汇报消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_35.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务汇报消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_48 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_35);


//ModelCode: generateSemanticInstance
            WorkTaskReportMsgRespDto generateSemanticInstanceRes_62 = null;
            WorkTaskReportMsgReqDto generateSemanticInstanceReq_31 = new WorkTaskReportMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_31.setTargetContentTitleName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1326370_1_54121
                generateSemanticInstanceReq_31.setComNumField(reqDto.getComNumField());//SimpleFieldAssign//sourceId:1326368_1_54121
                generateSemanticInstanceReq_31.setTargetContentName(reqDto.getWorkTaskSumCon());//SimpleFieldAssign//sourceId:1326367_1_54121
            }

            /*M2-生成工作任务汇报消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_31.getTargetContentTitleName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务汇报消息内容-目标内容标题名称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_31.getComNumField(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务汇报消息内容-通用数值字段（整数型）不能为空", false);
            generateSemanticInstanceRes_62 = nbTemplateEngine.workTaskReportMsg(generateSemanticInstanceReq_31);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_50 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_36 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_48 != null) {
                receptionServiceReq_36.setCustomField(receptionServiceRes_48.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_54122
            }
            if (generateSemanticInstanceRes_62 != null) {
                receptionServiceReq_36.setCustomField1(generateSemanticInstanceRes_62.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_54122
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_50 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_36);


            receptionServiceRes_1 = receptionServiceRes_50;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ISSUE_OFFCIAL_DOC_STORY"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成下发公文故事)  54127

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_51 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_37 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_37.setCustomField("上级来文");//CUSTOM_CONVENTION//sourceId:1327122_1_54131

            /*M2约定下发公文消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_37.getCustomField(), "11111D2生成消息标题及内容语义实例(公共)-M2约定下发公文消息标题-自定义字段不能为空", false);
            receptionServiceRes_51 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_37);


//ModelCode: generateSemanticInstance
            IssueOffcialDocStoryRespDto generateSemanticInstanceRes_64 = null;
            IssueOffcialDocStoryReqDto generateSemanticInstanceReq_32 = new IssueOffcialDocStoryReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_32.setDeptShortName(reqDto.getDutyBodyName());//SimpleFieldAssign//sourceId:1327127_1_54128
                generateSemanticInstanceReq_32.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1327125_1_54128
                generateSemanticInstanceReq_32.setObjectName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1327126_1_54128
            }

            /*M2生成下发公文语义故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_32.getDeptShortName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成下发公文语义故事-部门简称不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_32.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成下发公文语义故事-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_32.getObjectName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成下发公文语义故事-对象名称不能为空", false);
            generateSemanticInstanceRes_64 = nbTemplateEngine.issueOffcialDocStory(generateSemanticInstanceReq_32);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_53 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_38 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_51 != null) {
                receptionServiceReq_38.setCustomField(receptionServiceRes_51.getCustomField());//SimpleFieldAssign//sourceId:1157236_1_54129
            }
            if (generateSemanticInstanceRes_64 != null) {
                receptionServiceReq_38.setCustomField1(generateSemanticInstanceRes_64.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_54129
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_53 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_38);


            receptionServiceRes_1 = receptionServiceRes_53;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ARRANGE_WORK_TASK_INSTRUCT_STORY"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 安排工作任务指令故事)  54194

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_54 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_39 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_39.setCustomField("工作任务安排");//CUSTOM_CONVENTION//sourceId:1329543_1_54199

            /*M2约定公文工作任务安排指令消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_39.getCustomField(), "11111D2生成消息标题及内容语义实例(公共)-M2约定公文工作任务安排指令消息标题-自定义字段不能为空", false);
            receptionServiceRes_54 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_39);


//ModelCode: generateSemanticInstance
            ArrangeWorkTaskInstructStoryRespDto generateSemanticInstanceRes_66 = null;
            ArrangeWorkTaskInstructStoryReqDto generateSemanticInstanceReq_33 = new ArrangeWorkTaskInstructStoryReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_33.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1329544_1_54198
                generateSemanticInstanceReq_33.setObjectName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1329545_1_54198
            }

            /*M2生成公文工作任务安排指令故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_33.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成公文工作任务安排指令故事-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_33.getObjectName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成公文工作任务安排指令故事-对象名称不能为空", false);
            generateSemanticInstanceRes_66 = nbTemplateEngine.arrangeWorkTaskInstructStory(generateSemanticInstanceReq_33);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_56 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_40 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_54 != null) {
                receptionServiceReq_40.setCustomField(receptionServiceRes_54.getCustomField());//SimpleFieldAssign//sourceId:1157236_1_54197
            }
            if (generateSemanticInstanceRes_66 != null) {
                receptionServiceReq_40.setCustomField1(generateSemanticInstanceRes_66.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_54197
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_56 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_40);


            receptionServiceRes_1 = receptionServiceRes_56;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("SUPERVISE_TASK_ARRANGE_MSG_STORY"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 督办任务安排消息故事)  54522

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_57 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_41 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_41.setCustomField("工作安排提醒");//CUSTOM_CONVENTION//sourceId:1349245_1_54525

            /*M2约定督办任务安排消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_41.getCustomField(), "11111D2生成消息标题及内容语义实例(公共)-M2约定督办任务安排消息标题-自定义字段不能为空", false);
            receptionServiceRes_57 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_41);


//ModelCode: generateSemanticInstance
            SuperviseTaskArrangeMsgStoryRespDto generateSemanticInstanceRes_68 = null;
            SuperviseTaskArrangeMsgStoryReqDto generateSemanticInstanceReq_34 = new SuperviseTaskArrangeMsgStoryReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_34.setObjectName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1348705_1_54524
            }

            /*M2生成督办任务安排消息语义故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_34.getObjectName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成督办任务安排消息语义故事-对象名称不能为空", false);
            generateSemanticInstanceRes_68 = nbTemplateEngine.superviseTaskArrangeMsgStory(generateSemanticInstanceReq_34);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_59 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_42 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_57 != null) {
                receptionServiceReq_42.setCustomField(receptionServiceRes_57.getCustomField());//SimpleFieldAssign//sourceId:1157236_1_54523
            }
            if (generateSemanticInstanceRes_68 != null) {
                receptionServiceReq_42.setCustomField1(generateSemanticInstanceRes_68.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_54523
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_59 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_42);


            receptionServiceRes_1 = receptionServiceRes_59;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_FAILURE_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成工作任务失败消息内容)  56286

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_60 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_43 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_43.setCustomText("工作任务已失败");//CUSTOM_CONVENTION//sourceId:1397530_1_56287

            /*M2-生成工作任务失败消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_43.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务失败消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_60 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_43);


//ModelCode: generateSemanticInstance
            WorkTaskFailureMsgRespDto generateSemanticInstanceRes_70 = null;
            WorkTaskFailureMsgReqDto generateSemanticInstanceReq_35 = new WorkTaskFailureMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_35.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1397533_1_56288
                generateSemanticInstanceReq_35.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1397532_1_56288
            }

            /*M2-生成工作任务失败消息内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_35.getIdCardName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务失败消息内容-真实姓名不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_35.getTargetContentName(), "11111D2生成消息标题及内容语义实例(公共)-M2-生成工作任务失败消息内容-目标内容名称不能为空", false);
            generateSemanticInstanceRes_70 = nbTemplateEngine.workTaskFailureMsg(generateSemanticInstanceReq_35);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_62 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_44 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_60 != null) {
                receptionServiceReq_44.setCustomField(receptionServiceRes_60.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_56289
            }
            if (generateSemanticInstanceRes_70 != null) {
                receptionServiceReq_44.setCustomField1(generateSemanticInstanceRes_70.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_56289
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_62 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_44);


            receptionServiceRes_1 = receptionServiceRes_62;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ISSUE_NOTIFICATION_STORY"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 生成下发通知故事)  56692

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_63 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_45 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_45.setCustomField("通知");//CUSTOM_CONVENTION//sourceId:1418945_1_56693

            /*M2约定通知标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_45.getCustomField(), "11111D2生成消息标题及内容语义实例(公共)-M2约定通知标题-自定义字段不能为空", false);
            receptionServiceRes_63 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_45);


//ModelCode: generateSemanticInstance
            IssueNotificationStoryRespDto generateSemanticInstanceRes_72 = null;
            IssueNotificationStoryReqDto generateSemanticInstanceReq_36 = new IssueNotificationStoryReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_36.setObjectName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1418947_1_56694
            }

            /*M2生成下发通知语义故事[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_36.getObjectName(), "11111D2生成消息标题及内容语义实例(公共)-M2生成下发通知语义故事-对象名称不能为空", false);
            generateSemanticInstanceRes_72 = nbTemplateEngine.issueNotificationStory(generateSemanticInstanceReq_36);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_65 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_46 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_63 != null) {
                receptionServiceReq_46.setCustomField(receptionServiceRes_63.getCustomField());//SimpleFieldAssign//sourceId:1157236_1_56695
            }
            if (generateSemanticInstanceRes_72 != null) {
                receptionServiceReq_46.setCustomField1(generateSemanticInstanceRes_72.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_56695
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_65 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_46);


            receptionServiceRes_1 = receptionServiceRes_65;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("SUBMIT_REPORT_TASK_SUMMARY_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 提交汇报任务问题总结消息内容)  57300

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_66 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_47 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_47.setCustomText("有新的问题总结");//CUSTOM_CONVENTION//sourceId:1441513_1_57303

            /*M2生成汇报任务问题总结消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_47.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务问题总结消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_66 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_47);


//ModelCode: generateSemanticInstance
            SubmitReportTaskSummaryMsgRespDto generateSemanticInstanceRes_74 = null;
            SubmitReportTaskSummaryMsgReqDto generateSemanticInstanceReq_37 = new SubmitReportTaskSummaryMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_37.setObjectName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441309_1_57304
                generateSemanticInstanceReq_37.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1441307_1_57304
                generateSemanticInstanceReq_37.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1441308_1_57304
            }

            /*M2生成汇报任务问题总结消息内容[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes_74 = nbTemplateEngine.submitReportTaskSummaryMsg(generateSemanticInstanceReq_37);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_68 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_48 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_66 != null) {
                receptionServiceReq_48.setCustomField(receptionServiceRes_66.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_57307
            }
            if (generateSemanticInstanceRes_74 != null) {
                receptionServiceReq_48.setCustomField1(generateSemanticInstanceRes_74.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_57307
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_68 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_48);


            receptionServiceRes_1 = receptionServiceRes_68;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("SUBMIT_REPORT_TASK_SOLUTION_IDEA_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 提交汇报任务解决思路消息内容)  57301

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_69 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_49 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_49.setCustomText("有新的解决思路");//CUSTOM_CONVENTION//sourceId:1441517_1_57305

            /*M2生成汇报任务解决思路消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_49.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务解决思路消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_69 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_49);


//ModelCode: generateSemanticInstance
            SubmitReportTaskSolutionIdeaMsgRespDto generateSemanticInstanceRes_76 = null;
            SubmitReportTaskSolutionIdeaMsgReqDto generateSemanticInstanceReq_38 = new SubmitReportTaskSolutionIdeaMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_38.setObjectName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441324_1_57306
                generateSemanticInstanceReq_38.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1441322_1_57306
                generateSemanticInstanceReq_38.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1441323_1_57306
            }

            /*M2生成汇报任务解决思路消息内容[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes_76 = nbTemplateEngine.submitReportTaskSolutionIdeaMsg(generateSemanticInstanceReq_38);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_71 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_50 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_69 != null) {
                receptionServiceReq_50.setCustomField(receptionServiceRes_69.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_57308
            }
            if (generateSemanticInstanceRes_76 != null) {
                receptionServiceReq_50.setCustomField1(generateSemanticInstanceRes_76.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_57308
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_71 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_50);


            receptionServiceRes_1 = receptionServiceRes_71;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("SUBMIT_REPORT_TASK_IMP_SUG_MSG"))) {
            //elseif(D2生成消息标题及内容语义实例(公共).模板引擎标识 等于 提交汇报任务改进建议消息内容)  57302

//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_72 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_51 = new ObtainReceiveFieldsReqDto();
            receptionServiceReq_51.setCustomText("有新的改进建议");//CUSTOM_CONVENTION//sourceId:1441520_1_57309

            /*M2生成汇报任务改进建议消息标题[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_51.getCustomText(), "11111D2生成消息标题及内容语义实例(公共)-M2生成汇报任务改进建议消息标题-自定义文本字段不能为空", false);
            receptionServiceRes_72 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_51);


//ModelCode: generateSemanticInstance
            SubmitReportTaskImpSugMsgRespDto generateSemanticInstanceRes_78 = null;
            SubmitReportTaskImpSugMsgReqDto generateSemanticInstanceReq_39 = new SubmitReportTaskImpSugMsgReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_39.setObjectName(reqDto.getObjectName());//SimpleFieldAssign//sourceId:1441340_1_57310
                generateSemanticInstanceReq_39.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1441338_1_57310
                generateSemanticInstanceReq_39.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1441339_1_57310
            }

            /*M2生成汇报任务改进建议消息内容[5031]  解析语义模板，生成模板实例 */

            generateSemanticInstanceRes_78 = nbTemplateEngine.submitReportTaskImpSugMsg(generateSemanticInstanceReq_39);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_74 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_52 = new ObtainReceiveFieldsReqDto();
            if (receptionServiceRes_72 != null) {
                receptionServiceReq_52.setCustomField(receptionServiceRes_72.getCustomText());//SimpleFieldAssign//sourceId:1157236_1_57311
            }
            if (generateSemanticInstanceRes_78 != null) {
                receptionServiceReq_52.setCustomField1(generateSemanticInstanceRes_78.getObjectName());//SimpleFieldAssign//sourceId:1157235_1_57311
            }

            /*M2-接收语义内容结果[4007]  用于特殊方法接收上游入参。 */

            receptionServiceRes_74 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_52);


            receptionServiceRes_1 = receptionServiceRes_74;
        }
        GenerateMsgTitleAndContentSemanticInstanceComRespDto retData = new GenerateMsgTitleAndContentSemanticInstanceComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setMsgTitle(receptionServiceRes_1.getCustomField());//SimpleFieldAssign//sourceId:1157239_1
            retData.setMsgContent(receptionServiceRes_1.getCustomField1());//SimpleFieldAssign//sourceId:1157240_1
        }


        return retData;
    }

    /**
     * D2生成消息标题及内容(公共)[7489]
     * gen by moon at 10/15/2023, 6:09:11 PM
     */
    @Trace(operationName = "D2生成消息标题及内容(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateMsgTitleAndContentComRespDto generateMsgTitleAndContentCom(GenerateMsgTitleAndContentComReqDto reqDto) {


        GenerateMsgTitleAndContentSemanticInstanceComRespDto generateMsgTitleAndContentSemanticInstanceComRespDto_1 = null;
//virtualUsage D2查消息标题字符长度配置参数  49558
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1158825_1_49558
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("MSG_TITLE_CHAR_LENGTH");//CUSTOM_CONVENTION//sourceId:1158827_1_49558
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1158828_1_49558

        /*D2查消息标题字符长度配置参数[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(), "D2生成消息标题及内容(公共)-D2查消息标题字符长度配置参数-开通对象ID不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D2生成消息标题及内容(公共)-D2查消息标题字符长度配置参数-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D2生成消息标题及内容(公共)-D2查消息标题字符长度配置参数-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto)/*vcase invoke isSameApp*/;
        Assert.isTrue(queryConfItemMatchAnswerDetailComRespDto == null || queryConfItemMatchAnswerDetailComRespDto.getOptionResultId() == null, "找不到数据，系统异常", false);


//virtualUsage D2-计算两个数值相减服务(公共)  49626
        CalculateSubtractOfTwoNumComRespDto calculateSubtractOfTwoNumComRespDto = null;
        if (queryConfItemMatchAnswerDetailComRespDto != null) {
            CalculateSubtractOfTwoNumComReqDto calculateSubtractOfTwoNumComReqDto = new CalculateSubtractOfTwoNumComReqDto();
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                calculateSubtractOfTwoNumComReqDto.setCalcPara1(queryConfItemMatchAnswerDetailComRespDto.getEndValue() != null ? Double.valueOf(queryConfItemMatchAnswerDetailComRespDto.getEndValue()) : null);//SimpleFieldAssign//sourceId:1162094_1_49626
            }
            if (reqDto != null) {
                calculateSubtractOfTwoNumComReqDto.setCalcPara2(reqDto.getInputNum() != null ? Double.valueOf(reqDto.getInputNum()) : null);//SimpleFieldAssign//sourceId:1162095_1_49626
            }

            /*D2-计算两个数值相减服务(公共)[5168]   */
            Assert.isNull(calculateSubtractOfTwoNumComReqDto.getCalcPara1(), "D2生成消息标题及内容(公共)-D2-计算两个数值相减服务(公共)-计算入参1不能为空", false);
            Assert.isNull(calculateSubtractOfTwoNumComReqDto.getCalcPara2(), "D2生成消息标题及内容(公共)-D2-计算两个数值相减服务(公共)-计算入参2不能为空", false);
            calculateSubtractOfTwoNumComRespDto = interfaceModeService.calculateSubtractOfTwoNumCom(calculateSubtractOfTwoNumComReqDto)/*vcase invoke isSameApp*/;


        }
        if ((calculateSubtractOfTwoNumComRespDto != null && calculateSubtractOfTwoNumComRespDto.getCalcResult() > 0 && reqDto != null && reqDto.getCycleStandardName() != null)) {
            //if((D2-剩余长度=配置标题总长度-入参固定保留长度.计算结果 大于 0 and D2生成消息标题及内容(公共).周期名称 值不等于空 ))  49561

            ImplementGetStringLengthComRespDto implementGetStringLengthComRespDto = null;
            ImplementGetStringLengthComReqDto implementGetStringLengthComReqDto = new ImplementGetStringLengthComReqDto();
            if (reqDto != null) {
                implementGetStringLengthComReqDto.setCustomText(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1159240_1_49562
            }

            /*D2-获取字符串长度(公共)[7491]   */
            Assert.isNull(implementGetStringLengthComReqDto.getCustomText(), "D2生成消息标题及内容(公共)-D2-获取字符串长度(公共)-自定义文本字段不能为空", false);
            implementGetStringLengthComRespDto = interfaceModeService.implementGetStringLengthCom(implementGetStringLengthComReqDto)/*vcase invoke isSameApp*/;


            CalculateSubtractOfTwoNumComRespDto calculateSubtractOfTwoNumComRespDto_2 = null;
            if (calculateSubtractOfTwoNumComRespDto != null && implementGetStringLengthComRespDto != null) {
                CalculateSubtractOfTwoNumComReqDto calculateSubtractOfTwoNumComReqDto_1 = new CalculateSubtractOfTwoNumComReqDto();
                if (calculateSubtractOfTwoNumComRespDto != null) {
                    calculateSubtractOfTwoNumComReqDto_1.setCalcPara1(calculateSubtractOfTwoNumComRespDto.getCalcResult());//SimpleFieldAssign//sourceId:1162094_1_49627
                }
                if (implementGetStringLengthComRespDto != null) {
                    calculateSubtractOfTwoNumComReqDto_1.setCalcPara2(implementGetStringLengthComRespDto.getOutputNum() != null ? Double.valueOf(implementGetStringLengthComRespDto.getOutputNum()) : null);//SimpleFieldAssign//sourceId:1162095_1_49627
                }

                /*D2-计算两个数值相减服务(公共)[5168]   */
                Assert.isNull(calculateSubtractOfTwoNumComReqDto_1.getCalcPara1(), "D2生成消息标题及内容(公共)-D2-计算两个数值相减服务(公共)-计算入参1不能为空", false);
                Assert.isNull(calculateSubtractOfTwoNumComReqDto_1.getCalcPara2(), "D2生成消息标题及内容(公共)-D2-计算两个数值相减服务(公共)-计算入参2不能为空", false);
                calculateSubtractOfTwoNumComRespDto_2 = interfaceModeService.calculateSubtractOfTwoNumCom(calculateSubtractOfTwoNumComReqDto_1)/*vcase invoke isSameApp*/;


            }
            if ((calculateSubtractOfTwoNumComRespDto_2 != null && calculateSubtractOfTwoNumComRespDto_2.getCalcResult() > 0)) {
                //if(D2-剩余长度-周期名称长度.计算结果 大于 0)  49564

                ImplementCutRetainStringComRespDto implementCutRetainStringComRespDto = null;
                if (calculateSubtractOfTwoNumComRespDto_2 != null) {
                    ImplementCutRetainStringComReqDto implementCutRetainStringComReqDto = new ImplementCutRetainStringComReqDto();
                    if (reqDto != null) {
                        implementCutRetainStringComReqDto.setOriginalString(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1159249_1_49566
                    }
                    if (calculateSubtractOfTwoNumComRespDto_2 != null) {
                        implementCutRetainStringComReqDto.setComNumField(calculateSubtractOfTwoNumComRespDto_2.getCalcResult() != null ? calculateSubtractOfTwoNumComRespDto_2.getCalcResult().longValue() : null);//SimpleFieldAssign//sourceId:1162333_1_49566
                    }

                    /*D2执行截取字符串保留前N个字符(公共)[5878]   */
                    Assert.isNull(implementCutRetainStringComReqDto.getOriginalString(), "D2生成消息标题及内容(公共)-D2执行截取字符串保留前N个字符(公共)-原字符串不能为空", false);
                    Assert.isNull(implementCutRetainStringComReqDto.getComNumField(), "D2生成消息标题及内容(公共)-D2执行截取字符串保留前N个字符(公共)-通用数值字段（整数型）不能为空", false);
                    implementCutRetainStringComRespDto = interfaceModeService.implementCutRetainStringCom(implementCutRetainStringComReqDto)/*vcase invoke isSameApp*/;


                }
                GenerateMsgTitleAndContentSemanticInstanceComRespDto generateMsgTitleAndContentSemanticInstanceComRespDto = null;
                if (implementCutRetainStringComRespDto != null) {
                    GenerateMsgTitleAndContentSemanticInstanceComReqDto generateMsgTitleAndContentSemanticInstanceComReqDto = new GenerateMsgTitleAndContentSemanticInstanceComReqDto();
                    if (reqDto != null) {
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1158801_1_49569
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setDutyBodyName(reqDto.getDutyBodyName());//SimpleFieldAssign//sourceId:1170214_1_49569
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1158805_1_49569
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1158802_1_49569
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setComNumField(reqDto.getComNumField());//SimpleFieldAssign//sourceId:1177917_1_49569
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1158803_1_49569
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setReportTaskRejectReason(reqDto.getReportTaskRejectReason());//SimpleFieldAssign//sourceId:1179696_1_49569
                    }
                    if (implementCutRetainStringComRespDto != null) {
                        generateMsgTitleAndContentSemanticInstanceComReqDto.setTargetContentTitleName(implementCutRetainStringComRespDto.getCutString());//SimpleFieldAssign//sourceId:1158804_1_49569
                    }

                    /*D2生成消息标题及内容语义实例(公共)[7486]   */
                    Assert.isNull(generateMsgTitleAndContentSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "D2生成消息标题及内容(公共)-D2生成消息标题及内容语义实例(公共)-模板引擎标识不能为空", false);
                    generateMsgTitleAndContentSemanticInstanceComRespDto = generateMsgTitleAndContentSemanticInstanceCom(generateMsgTitleAndContentSemanticInstanceComReqDto)/*vcase invoke 同服务,同domain*/;


                    generateMsgTitleAndContentSemanticInstanceComRespDto_1 = generateMsgTitleAndContentSemanticInstanceComRespDto;
                }
            } else {
                //else  49572

//异常结束 49646
                throw new BizException("C00263", "对不起！名称过长，请重新修改名称", false);
            }
        } else if ((calculateSubtractOfTwoNumComRespDto != null && calculateSubtractOfTwoNumComRespDto.getCalcResult() != null && calculateSubtractOfTwoNumComRespDto != null && calculateSubtractOfTwoNumComRespDto.getCalcResult() > 0 && reqDto != null && reqDto.getCycleStandardName() == null)) {
            //elseif((D2-剩余长度=配置标题总长度-入参固定保留长度.计算结果 值不等于空  and D2-剩余长度=配置标题总长度-入参固定保留长度.计算结果 大于 0 and D2生成消息标题及内容(公共).周期名称 值等于空 ))  50107

            ImplementCutRetainStringComRespDto implementCutRetainStringComRespDto_2 = null;
            if (calculateSubtractOfTwoNumComRespDto != null) {
                ImplementCutRetainStringComReqDto implementCutRetainStringComReqDto_1 = new ImplementCutRetainStringComReqDto();
                if (reqDto != null) {
                    implementCutRetainStringComReqDto_1.setOriginalString(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1159249_1_50108
                }
                if (calculateSubtractOfTwoNumComRespDto != null) {
                    implementCutRetainStringComReqDto_1.setComNumField(calculateSubtractOfTwoNumComRespDto.getCalcResult() != null ? calculateSubtractOfTwoNumComRespDto.getCalcResult().longValue() : null);//SimpleFieldAssign//sourceId:1162333_1_50108
                }

                /*D2执行截取字符串保留前N个字符(公共)[5878]   */
                Assert.isNull(implementCutRetainStringComReqDto_1.getOriginalString(), "D2生成消息标题及内容(公共)-D2执行截取字符串保留前N个字符(公共)-原字符串不能为空", false);
                Assert.isNull(implementCutRetainStringComReqDto_1.getComNumField(), "D2生成消息标题及内容(公共)-D2执行截取字符串保留前N个字符(公共)-通用数值字段（整数型）不能为空", false);
                implementCutRetainStringComRespDto_2 = interfaceModeService.implementCutRetainStringCom(implementCutRetainStringComReqDto_1)/*vcase invoke isSameApp*/;


            }
            GenerateMsgTitleAndContentSemanticInstanceComRespDto generateMsgTitleAndContentSemanticInstanceComRespDto_2 = null;
            if (implementCutRetainStringComRespDto_2 != null) {
                GenerateMsgTitleAndContentSemanticInstanceComReqDto generateMsgTitleAndContentSemanticInstanceComReqDto_1 = new GenerateMsgTitleAndContentSemanticInstanceComReqDto();
                if (reqDto != null) {
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1158801_1_50109
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setDutyBodyName(reqDto.getDutyBodyName());//SimpleFieldAssign//sourceId:1170214_1_50109
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1158805_1_50109
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1158802_1_50109
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setComNumField(reqDto.getComNumField());//SimpleFieldAssign//sourceId:1177917_1_50109
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1158803_1_50109
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setReportTaskRejectReason(reqDto.getReportTaskRejectReason());//SimpleFieldAssign//sourceId:1179696_1_50109
                }
                if (implementCutRetainStringComRespDto_2 != null) {
                    generateMsgTitleAndContentSemanticInstanceComReqDto_1.setTargetContentTitleName(implementCutRetainStringComRespDto_2.getCutString());//SimpleFieldAssign//sourceId:1158804_1_50109
                }

                /*D2生成消息标题及内容语义实例(公共)[7486]   */
                Assert.isNull(generateMsgTitleAndContentSemanticInstanceComReqDto_1.getTemplateSemanticEngineCode(), "D2生成消息标题及内容(公共)-D2生成消息标题及内容语义实例(公共)-模板引擎标识不能为空", false);
                generateMsgTitleAndContentSemanticInstanceComRespDto_2 = generateMsgTitleAndContentSemanticInstanceCom(generateMsgTitleAndContentSemanticInstanceComReqDto_1)/*vcase invoke 同服务,同domain*/;


                generateMsgTitleAndContentSemanticInstanceComRespDto_1 = generateMsgTitleAndContentSemanticInstanceComRespDto_2;
            }
        }
        GenerateMsgTitleAndContentComRespDto retData = new GenerateMsgTitleAndContentComRespDto();
        if (generateMsgTitleAndContentSemanticInstanceComRespDto_1 != null) {
            retData.setMsgTitle(generateMsgTitleAndContentSemanticInstanceComRespDto_1.getMsgTitle());//SimpleFieldAssign//sourceId:1159395_1
            retData.setMsgContent(generateMsgTitleAndContentSemanticInstanceComRespDto_1.getMsgContent());//SimpleFieldAssign//sourceId:1159396_1
        }


        return retData;
    }

    /**
     * D2生成账单流水业务故事(公共)[7702]
     * gen by moon at 11/21/2023, 6:43:03 PM
     */
    @Trace(operationName = "D2生成账单流水业务故事(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateBillStreamBizStoryComRespDto generateBillStreamBizStoryCom(GenerateBillStreamBizStoryComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_ADD_BUDGET_STORY"))) {
            //if(D2生成账单流水业务故事(公共).模板引擎标识 等于 生成加预算账单业务故事)  51920

//ModelCode: invokeTemplateSemantic
            CreateAddBudgetStoryRespDto invokeTemplateSemanticRes = null;
            CreateAddBudgetStoryReqDto invokeTemplateSemanticReq = new CreateAddBudgetStoryReqDto();
            if (reqDto != null) {
                invokeTemplateSemanticReq.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1241504_1_51922
                invokeTemplateSemanticReq.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1241505_1_51922
                invokeTemplateSemanticReq.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1243635_1_51922
            }

    /*M2生成加预算流水业务故事[7703]  入参：模板引擎标识（templateSemanticEngineCode），其余根据业务场景，入参不同
逻辑：
1、将模板引擎标识以外的入参转换成JSON
2、通过模板引擎标识调用第二个服务的Dubbo接口：D2-8生成语义实例（公共）（generateSemanticInstance）
出参：语义引擎实例内容（sentenceContent） */
            Assert.isNull(invokeTemplateSemanticReq.getTemplateSemanticEngineCode(), "D2生成账单流水业务故事(公共)-M2生成加预算流水业务故事-模板引擎标识不能为空", false);
            Assert.isNull(invokeTemplateSemanticReq.getIdCardName(), "D2生成账单流水业务故事(公共)-M2生成加预算流水业务故事-真实姓名不能为空", false);
            Assert.isNull(invokeTemplateSemanticReq.getTargetContentName(), "D2生成账单流水业务故事(公共)-M2生成加预算流水业务故事-目标内容名称不能为空", false);
            invokeTemplateSemanticRes = nbTemplateEngine.createAddBudgetStory(invokeTemplateSemanticReq);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (invokeTemplateSemanticRes != null) {
                receptionServiceReq.setObjectName(invokeTemplateSemanticRes.getObjectName());//SimpleFieldAssign//sourceId:1241527_1_51924
            }

            /*M2接收业务故事出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getObjectName(), "D2生成账单流水业务故事(公共)-M2接收业务故事出参-对象名称不能为空", false);
            receptionServiceRes = nbTemplateEngine.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CREATE_SUBTRACT_BUDGET_STORY"))) {
            //elseif(D2生成账单流水业务故事(公共).模板引擎标识 等于 生成减预算账单故事)  51921

//ModelCode: invokeTemplateSemantic
            CreateSubTractBudgetStoryRespDto invokeTemplateSemanticRes_2 = null;
            CreateSubTractBudgetStoryReqDto invokeTemplateSemanticReq_1 = new CreateSubTractBudgetStoryReqDto();
            if (reqDto != null) {
                invokeTemplateSemanticReq_1.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1241509_1_51923
                invokeTemplateSemanticReq_1.setIdCardName(reqDto.getIdCardName());//SimpleFieldAssign//sourceId:1241511_1_51923
                invokeTemplateSemanticReq_1.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1314351_1_51923
            }

    /*M2生成减预算流水业务故事[7703]  入参：模板引擎标识（templateSemanticEngineCode），其余根据业务场景，入参不同
逻辑：
1、将模板引擎标识以外的入参转换成JSON
2、通过模板引擎标识调用第二个服务的Dubbo接口：D2-8生成语义实例（公共）（generateSemanticInstance）
出参：语义引擎实例内容（sentenceContent） */
            Assert.isNull(invokeTemplateSemanticReq_1.getTemplateSemanticEngineCode(), "D2生成账单流水业务故事(公共)-M2生成减预算流水业务故事-模板引擎标识不能为空", false);
            Assert.isNull(invokeTemplateSemanticReq_1.getIdCardName(), "D2生成账单流水业务故事(公共)-M2生成减预算流水业务故事-真实姓名不能为空", false);
            Assert.isNull(invokeTemplateSemanticReq_1.getTargetContentName(), "D2生成账单流水业务故事(公共)-M2生成减预算流水业务故事-目标内容名称不能为空", false);
            invokeTemplateSemanticRes_2 = nbTemplateEngine.createSubTractBudgetStory(invokeTemplateSemanticReq_1);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (invokeTemplateSemanticRes_2 != null) {
                receptionServiceReq_1.setObjectName(invokeTemplateSemanticRes_2.getObjectName());//SimpleFieldAssign//sourceId:1241527_1_51925
            }

            /*M2接收业务故事出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getObjectName(), "D2生成账单流水业务故事(公共)-M2接收业务故事出参-对象名称不能为空", false);
            receptionServiceRes_2 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("BUDGET_ARRIVAL_STORY"))) {
            //elseif(D2生成账单流水业务故事(公共).模板引擎标识 等于 预算到账账单故事)  51985

//ModelCode: generateSemanticInstance
            BudgetArrivalStoryRespDto generateSemanticInstanceRes = null;
            BudgetArrivalStoryReqDto generateSemanticInstanceReq = new BudgetArrivalStoryReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1243629_1_51986
                generateSemanticInstanceReq.setTargetContentName(reqDto.getTargetContentName());//SimpleFieldAssign//sourceId:1247891_1_51986
            }

            /*M2生成预算到账账单流水业务故事[7703]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getTemplateSemanticEngineCode(), "D2生成账单流水业务故事(公共)-M2生成预算到账账单流水业务故事-模板引擎标识不能为空", false);
            Assert.isNull(generateSemanticInstanceReq.getTargetContentName(), "D2生成账单流水业务故事(公共)-M2生成预算到账账单流水业务故事-目标内容名称不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.budgetArrivalStory(generateSemanticInstanceReq);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_3 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_2 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq_2.setObjectName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:1241527_1_51987
            }

            /*M2接收业务故事出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getObjectName(), "D2生成账单流水业务故事(公共)-M2接收业务故事出参-对象名称不能为空", false);
            receptionServiceRes_3 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_2);


            receptionServiceRes_1 = receptionServiceRes_3;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("CHARGE_EXPENDITURE_STORY"))) {
            //elseif(D2生成账单流水业务故事(公共).模板引擎标识 等于 费用支出账单故事)  52061

//ModelCode: generateSemanticInstance
            ChargeExpenditureStoryRespDto generateSemanticInstanceRes_2 = null;
            ChargeExpenditureStoryReqDto generateSemanticInstanceReq_1 = new ChargeExpenditureStoryReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1246548_1_52062
                generateSemanticInstanceReq_1.setAccountSubjectName(reqDto.getAccountSubjectName());//SimpleFieldAssign//sourceId:1246555_1_52062
            }

            /*M2-生成费用支出流水业务故事[7703]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getTemplateSemanticEngineCode(), "D2生成账单流水业务故事(公共)-M2-生成费用支出流水业务故事-模板引擎标识不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_1.getAccountSubjectName(), "D2生成账单流水业务故事(公共)-M2-生成费用支出流水业务故事-科目名称不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.chargeExpenditureStory(generateSemanticInstanceReq_1);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_4 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_3 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_2 != null) {
                receptionServiceReq_3.setObjectName(generateSemanticInstanceRes_2.getObjectName());//SimpleFieldAssign//sourceId:1241527_1_52063
            }

            /*M2接收业务故事出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_3.getObjectName(), "D2生成账单流水业务故事(公共)-M2接收业务故事出参-对象名称不能为空", false);
            receptionServiceRes_4 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_3);


            receptionServiceRes_1 = receptionServiceRes_4;
        }
        GenerateBillStreamBizStoryComRespDto retData = new GenerateBillStreamBizStoryComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setObjectName(receptionServiceRes_1.getObjectName());//SimpleFieldAssign//sourceId:1241545_1
        }


        return retData;
    }

    /**
     * D2-生成时长文案语义实例(公共)[8034]
     * gen by moon at 11/28/2023, 8:17:02 PM
     */
    @Trace(operationName = "D2-生成时长文案语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateDurationTextSemanticInstanceComRespDto generateDurationTextSemanticInstanceCom(GenerateDurationTextSemanticInstanceComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_TO_START_DAYS"))) {
            //if(D2-生成时长文案语义实例(公共).模板引擎标识 等于 生成工作任务xx天后开始文案)  54729

//ModelCode: generateSemanticInstance
            WorkTaskToStartDaysRespDto generateSemanticInstanceRes = null;
            WorkTaskToStartDaysReqDto generateSemanticInstanceReq = new WorkTaskToStartDaysReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setTimeDiffDays(reqDto.getTimeDiffDays());//SimpleFieldAssign//sourceId:1359353_1_54732
            }

            /*M2-生成工作任务xx天后开始文案	[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getTimeDiffDays(), "D2-生成时长文案语义实例(公共)-M2-生成工作任务xx天后开始文案	-时间偏差天数不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.workTaskToStartDays(generateSemanticInstanceReq);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq.setObjectName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:1359356_1_54733
            }

            /*M2-约定出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getObjectName(), "D2-生成时长文案语义实例(公共)-M2-约定出参-对象名称不能为空", false);
            receptionServiceRes = nbTemplateEngine.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_FINISH_AHEAD_DAYS"))) {
            //elseif(D2-生成时长文案语义实例(公共).模板引擎标识 等于 生成工作任务提前xx天完成文案)  54730

//ModelCode: generateSemanticInstance
            WorkTaskFinishAheadDaysRespDto generateSemanticInstanceRes_2 = null;
            WorkTaskFinishAheadDaysReqDto generateSemanticInstanceReq_1 = new WorkTaskFinishAheadDaysReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setTimeDiffDays(reqDto.getTimeDiffDays());//SimpleFieldAssign//sourceId:1359354_1_54734
            }

            /*M2-生成工作任务提前xx天完成文案	[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getTimeDiffDays(), "D2-生成时长文案语义实例(公共)-M2-生成工作任务提前xx天完成文案	-时间偏差天数不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.workTaskFinishAheadDays(generateSemanticInstanceReq_1);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_2 != null) {
                receptionServiceReq_1.setObjectName(generateSemanticInstanceRes_2.getObjectName());//SimpleFieldAssign//sourceId:1359356_1_54735
            }

            /*M2-约定出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getObjectName(), "D2-生成时长文案语义实例(公共)-M2-约定出参-对象名称不能为空", false);
            receptionServiceRes_2 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("WORK_TASK_FINISH_OVERDUE_DAYS"))) {
            //elseif(D2-生成时长文案语义实例(公共).模板引擎标识 等于 生成工作任务逾期xx天完成文案)  54731

//ModelCode: generateSemanticInstance
            WorkTaskFinishOverdueDaysRespDto generateSemanticInstanceRes_4 = null;
            WorkTaskFinishOverdueDaysReqDto generateSemanticInstanceReq_2 = new WorkTaskFinishOverdueDaysReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_2.setTimeDiffDays(reqDto.getTimeDiffDays());//SimpleFieldAssign//sourceId:1359355_1_54736
            }

            /*M2-生成工作任务逾期xx天完成文案[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_2.getTimeDiffDays(), "D2-生成时长文案语义实例(公共)-M2-生成工作任务逾期xx天完成文案-时间偏差天数不能为空", false);
            generateSemanticInstanceRes_4 = nbTemplateEngine.workTaskFinishOverdueDays(generateSemanticInstanceReq_2);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_3 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_2 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_4 != null) {
                receptionServiceReq_2.setObjectName(generateSemanticInstanceRes_4.getObjectName());//SimpleFieldAssign//sourceId:1359356_1_54737
            }

            /*M2-约定出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getObjectName(), "D2-生成时长文案语义实例(公共)-M2-约定出参-对象名称不能为空", false);
            receptionServiceRes_3 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_2);


            receptionServiceRes_1 = receptionServiceRes_3;
        }
        GenerateDurationTextSemanticInstanceComRespDto retData = new GenerateDurationTextSemanticInstanceComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setObjectName(receptionServiceRes_1.getObjectName());//SimpleFieldAssign//sourceId:1359358_1
        }


        return retData;
    }

    /**
     * D2执行机器人场景语义实例(公共)[8112]
     * gen by moon at 12/9/2023, 3:53:47 PM
     */
    @Trace(operationName = "D2执行机器人场景语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementRoboticSceneSemanticEngineComRespDto implementRoboticSceneSemanticEngineCom(ImplementRoboticSceneSemanticEngineComReqDto reqDto) {


        ObtainReceiveFieldsRespDto receptionServiceRes_1 = null;
        if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ASSEMBLY_INSTRUCTION_QUS_CONT_TEMP"))) {
            //if(D2执行机器人场景语义实例(公共).模板引擎标识 等于 组装指令模板提问内容)  56291

//ModelCode: generateSemanticInstance
            AssemblyInstructionQusContTempRespDto generateSemanticInstanceRes = null;
            AssemblyInstructionQusContTempReqDto generateSemanticInstanceReq = new AssemblyInstructionQusContTempReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq.setContent(reqDto.getContent());//SimpleFieldAssign//sourceId:1398861_1_56293
                generateSemanticInstanceReq.setInstructionTemplate(reqDto.getInstructionTemplate());//SimpleFieldAssign//sourceId:1398860_1_56293
            }

            /*M2组装指令模板提问内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq.getContent(), "D2执行机器人场景语义实例(公共)-M2组装指令模板提问内容-消息内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq.getInstructionTemplate(), "D2执行机器人场景语义实例(公共)-M2组装指令模板提问内容-指令模板部分内容不能为空", false);
            generateSemanticInstanceRes = nbTemplateEngine.assemblyInstructionQusContTemp(generateSemanticInstanceReq);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes = null;
            ObtainReceiveFieldsReqDto receptionServiceReq = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes != null) {
                receptionServiceReq.setObjectName(generateSemanticInstanceRes.getObjectName());//SimpleFieldAssign//sourceId:1398859_1_56294
            }

            /*M2接收生成语义内容出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getObjectName(), "D2执行机器人场景语义实例(公共)-M2接收生成语义内容出参-对象名称不能为空", false);
            receptionServiceRes = nbTemplateEngine.obtainReceiveFields(receptionServiceReq);


            receptionServiceRes_1 = receptionServiceRes;
        } else if ((reqDto != null && reqDto.getTemplateSemanticEngineCode() != null && reqDto.getTemplateSemanticEngineCode().equals("ASSEMBLY_STRONG_REMINDER_QUS_CONT_TEMP"))) {
            //elseif(D2执行机器人场景语义实例(公共).模板引擎标识 等于 组织强提醒提问内容)  56292

//ModelCode: generateSemanticInstance
            AssemblyStrongReminderQusContTempRespDto generateSemanticInstanceRes_2 = null;
            AssemblyStrongReminderQusContTempReqDto generateSemanticInstanceReq_1 = new AssemblyStrongReminderQusContTempReqDto();
            if (reqDto != null) {
                generateSemanticInstanceReq_1.setStrongReminderBasicCopy(reqDto.getStrongReminderBasicCopy());//SimpleFieldAssign//sourceId:1398862_1_56296
                generateSemanticInstanceReq_1.setStrongReminderContent(reqDto.getStrongReminderContent());//SimpleFieldAssign//sourceId:1398863_1_56296
            }

            /*M2组织强提醒提问内容[5031]  解析语义模板，生成模板实例 */
            Assert.isNull(generateSemanticInstanceReq_1.getStrongReminderBasicCopy(), "D2执行机器人场景语义实例(公共)-M2组织强提醒提问内容-强提醒部分内容不能为空", false);
            Assert.isNull(generateSemanticInstanceReq_1.getStrongReminderContent(), "D2执行机器人场景语义实例(公共)-M2组织强提醒提问内容-强提醒核心内容不能为空", false);
            generateSemanticInstanceRes_2 = nbTemplateEngine.assemblyStrongReminderQusContTemp(generateSemanticInstanceReq_1);


//ModelCode: receptionService
            ObtainReceiveFieldsRespDto receptionServiceRes_2 = null;
            ObtainReceiveFieldsReqDto receptionServiceReq_1 = new ObtainReceiveFieldsReqDto();
            if (generateSemanticInstanceRes_2 != null) {
                receptionServiceReq_1.setObjectName(generateSemanticInstanceRes_2.getObjectName());//SimpleFieldAssign//sourceId:1398859_1_56295
            }

            /*M2接收生成语义内容出参[4007]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getObjectName(), "D2执行机器人场景语义实例(公共)-M2接收生成语义内容出参-对象名称不能为空", false);
            receptionServiceRes_2 = nbTemplateEngine.obtainReceiveFields(receptionServiceReq_1);


            receptionServiceRes_1 = receptionServiceRes_2;
        }
        ImplementRoboticSceneSemanticEngineComRespDto retData = new ImplementRoboticSceneSemanticEngineComRespDto();
        if (receptionServiceRes_1 != null) {
            retData.setObjectName(receptionServiceRes_1.getObjectName());//SimpleFieldAssign//sourceId:1398864_1
        }


        return retData;
    }

    /**
     * D2生成语义实例故事(公共)[8234]
     * gen by moon at 6/11/2024, 6:10:13 AM
     */
    @Trace(operationName = "D2生成语义实例故事(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryCom(GenerateSemanticInstanceStoryComReqDto reqDto) {


        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes_2 = null;
//步骤0: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
        //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes = null;
        ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq = new ImplementSmartSessionReceiveFieldInputReqDto();
        if (reqDto != null) {
            receptionServiceReq.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1452226_1
            receptionServiceReq.setFirstFieldName(reqDto.getFirstFieldName());//SimpleFieldAssign//sourceId:1452166_1
            receptionServiceReq.setFirstFieldValue(reqDto.getFirstFieldValue());//SimpleFieldAssign//sourceId:1452167_1
            receptionServiceReq.setSecondFieldName(reqDto.getSecondFieldName());//SimpleFieldAssign//sourceId:1452168_1
            receptionServiceReq.setSecondFieldValue(reqDto.getSecondFieldValue());//SimpleFieldAssign//sourceId:1452169_1
            receptionServiceReq.setThirdFieldName(reqDto.getThirdFieldName());//SimpleFieldAssign//sourceId:1452170_1
            receptionServiceReq.setThirdFieldValue(reqDto.getThirdFieldValue());//SimpleFieldAssign//sourceId:1452171_1
            receptionServiceReq.setFourFieldName(reqDto.getFourFieldName());//SimpleFieldAssign//sourceId:1574126_1
            receptionServiceReq.setFourFieldValue(reqDto.getFourFieldValue());//SimpleFieldAssign//sourceId:1574127_1
            receptionServiceReq.setFiveFieldName(reqDto.getFiveFieldName());//SimpleFieldAssign//sourceId:1659348_1
            receptionServiceReq.setFiveFieldValue(reqDto.getFiveFieldValue());//SimpleFieldAssign//sourceId:1659347_1
            receptionServiceReq.setSixFieldName(reqDto.getSixFieldName());//SimpleFieldAssign//sourceId:1863308_1
            receptionServiceReq.setSixFieldValue(reqDto.getSixFieldValue());//SimpleFieldAssign//sourceId:1863309_1
        }

        /*M2接收字段[8109]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getTemplateSemanticEngineCode(), "D2生成语义实例故事(公共)-M2接收字段-模板引擎标识不能为空", false);
        receptionServiceRes = nbTemplateEngine.implementSmartSessionReceiveFieldInput(receptionServiceReq);


//步骤1: D2查询语义引擎详情(公共) - querySemanticEngineDetailCom
        QuerySemanticEngineDetailComRespDto querySemanticEngineDetailComRespDto = null;
        QuerySemanticEngineDetailComReqDto querySemanticEngineDetailComReqDto = new QuerySemanticEngineDetailComReqDto();
        if (reqDto != null) {
            querySemanticEngineDetailComReqDto.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1452215_1
        }

        /*D2查询语义引擎详情(公共)[8238]   */
        Assert.isNull(querySemanticEngineDetailComReqDto.getTemplateSemanticEngineCode(), "D2生成语义实例故事(公共)-D2查询语义引擎详情(公共)-模板引擎标识不能为空", false);
        querySemanticEngineDetailComRespDto = querySemanticEngineDetailCom(querySemanticEngineDetailComReqDto)/*vcase invoke 同服务,同domain*/;


//步骤2: D2执行多个字段转换数据集(公共) - implementSmsFieldToDatasCom
        ImplementSmsFieldToDatasComRespDto implementSmsFieldToDatasComRespDto = null;
        ImplementSmsFieldToDatasComReqDto implementSmsFieldToDatasComReqDto = new ImplementSmsFieldToDatasComReqDto();
        if (reqDto != null) {
            implementSmsFieldToDatasComReqDto.setFirstFieldName(reqDto.getFirstFieldName());//SimpleFieldAssign//sourceId:1452058_1
            implementSmsFieldToDatasComReqDto.setFirstFieldValue(reqDto.getFirstFieldValue());//SimpleFieldAssign//sourceId:1452059_1
            implementSmsFieldToDatasComReqDto.setSecondFieldName(reqDto.getSecondFieldName());//SimpleFieldAssign//sourceId:1452060_1
            implementSmsFieldToDatasComReqDto.setSecondFieldValue(reqDto.getSecondFieldValue());//SimpleFieldAssign//sourceId:1452061_1
            implementSmsFieldToDatasComReqDto.setThirdFieldName(reqDto.getThirdFieldName());//SimpleFieldAssign//sourceId:1452062_1
            implementSmsFieldToDatasComReqDto.setThirdFieldValue(reqDto.getThirdFieldValue());//SimpleFieldAssign//sourceId:1452063_1
            implementSmsFieldToDatasComReqDto.setFourFieldName(reqDto.getFourFieldName());//SimpleFieldAssign//sourceId:1574130_1
            implementSmsFieldToDatasComReqDto.setFourFieldValue(reqDto.getFourFieldValue());//SimpleFieldAssign//sourceId:1574131_1
            implementSmsFieldToDatasComReqDto.setFiveFieldName(reqDto.getFiveFieldName());//SimpleFieldAssign//sourceId:1659345_1
            implementSmsFieldToDatasComReqDto.setFiveFieldValue(reqDto.getFiveFieldValue());//SimpleFieldAssign//sourceId:1659346_1
            implementSmsFieldToDatasComReqDto.setSixFieldName(reqDto.getSixFieldName());//SimpleFieldAssign//sourceId:1863318_1
            implementSmsFieldToDatasComReqDto.setSixFieldValue(reqDto.getSixFieldValue());//SimpleFieldAssign//sourceId:1863319_1
        }

        /*D2执行多个字段转换数据集(公共)[8180]   */

        implementSmsFieldToDatasComRespDto = messageService.implementSmsFieldToDatasCom(implementSmsFieldToDatasComReqDto)/*vcase invoke isSameApp*/;


//步骤3: D2生成语义实例(公共) - generateSemanticInstanceCom
        GenerateSemanticInstanceComRespDto generateSemanticInstanceComRespDto = null;
        if (implementSmsFieldToDatasComRespDto != null) {
            GenerateSemanticInstanceComReqDto generateSemanticInstanceComReqDto = new GenerateSemanticInstanceComReqDto();
            if (implementSmsFieldToDatasComRespDto != null && implementSmsFieldToDatasComRespDto.getFieldsNameAndValueToOneDatasList() != null && !CollectionUtil.isEmpty(implementSmsFieldToDatasComRespDto.getFieldsNameAndValueToOneDatasList())) {
                generateSemanticInstanceComReqDto.setFieldsNameAndValueToOneDatasList(implementSmsFieldToDatasComRespDto.getFieldsNameAndValueToOneDatasList().stream().map(item -> BeanUtil.toBean(item, FieldsNameAndValueToOneDatasDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1452339_1
            }
            if (querySemanticEngineDetailComRespDto != null) {
                generateSemanticInstanceComReqDto.setTemplateEngineTemplate(querySemanticEngineDetailComRespDto.getTemplateEngineTemplate());//SimpleFieldAssign//sourceId:1452359_1
            }

            /*D2生成语义实例(公共)[8239]   */
            Assert.isNull(generateSemanticInstanceComReqDto.getTemplateEngineTemplate(), "D2生成语义实例故事(公共)-D2生成语义实例(公共)- 模板引擎内容模板不能为空", false);
            generateSemanticInstanceComRespDto = generateSemanticInstanceCom(generateSemanticInstanceComReqDto)/*vcase invoke 同服务,同domain*/;


        }

//步骤4: M2执行智能沟通接收入参 - implementSmartSessionReceiveFieldInput
        //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes_1 = null;
        if (generateSemanticInstanceComRespDto != null) {
            ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq_1 = new ImplementSmartSessionReceiveFieldInputReqDto();
            if (generateSemanticInstanceComRespDto != null) {
                receptionServiceReq_1.setObjectName(generateSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1452342_1
            }

            /*M2接收字段出参[8109]  用于特殊方法接收上游入参。 */

            receptionServiceRes_1 = nbTemplateEngine.implementSmartSessionReceiveFieldInput(receptionServiceReq_1);


            receptionServiceRes_2 = receptionServiceRes_1;
        }

        GenerateSemanticInstanceStoryComRespDto retData = new GenerateSemanticInstanceStoryComRespDto();
        if (receptionServiceRes_2 != null) {
            retData.setObjectName(receptionServiceRes_2.getObjectName());//SimpleFieldAssign//sourceId:1452345_1
        }


        return retData;
    }

    /**
     * D2查询语义引擎详情(公共)[8238]
     * gen by moon at 12/29/2023, 8:50:30 PM
     */
    @Trace(operationName = "D2查询语义引擎详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySemanticEngineDetailComRespDto querySemanticEngineDetailCom(QuerySemanticEngineDetailComReqDto reqDto) {


        OmsTemplateSemanticEngine omsTemplateSemanticEngine_1 = null;
//步骤0: 2-8-1查语义引擎详情 - querySemanticEngineDetail
        OmsTemplateSemanticEngine omsTemplateSemanticEngine = null;
        QuerySemanticEngineDetailReq querySemanticEngineDetailReq = new QuerySemanticEngineDetailReq();
        if (reqDto != null) {
            querySemanticEngineDetailReq.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1452180_1
        }

        /*2-8-1查语义引擎详情[1186]   */

        omsTemplateSemanticEngine = mOmsTemplateSemanticEngineService.querySemanticEngineDetail(querySemanticEngineDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsTemplateSemanticEngine_1 = omsTemplateSemanticEngine;

        QuerySemanticEngineDetailComRespDto retData = new QuerySemanticEngineDetailComRespDto();
        if (omsTemplateSemanticEngine_1 != null) {
            retData.setTemplateSemanticEngineCode(omsTemplateSemanticEngine_1.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1452211_1
            retData.setEmplateEngineName(omsTemplateSemanticEngine_1.getEmplateEngineName());//SimpleFieldAssign//sourceId:1452212_1
            retData.setTemplateEngineTemplate(omsTemplateSemanticEngine_1.getTemplateEngineTemplate());//SimpleFieldAssign//sourceId:1452213_1
            retData.setBehaviorTypeCode(omsTemplateSemanticEngine_1.getBehaviorTypeCode());//SimpleFieldAssign//sourceId:1452214_1
        }


        return retData;
    }

    /**
     * D2生成语义实例(公共)[8239]
     * gen by moon at 12/29/2023, 8:50:53 PM
     */
    @Trace(operationName = "D2生成语义实例(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public GenerateSemanticInstanceComRespDto generateSemanticInstanceCom(GenerateSemanticInstanceComReqDto reqDto) {


        GenerateSemanticInstanceStoryRespDto generateSemanticInstanceRes_1 = null;
//步骤0: M2生成语义实例故事 - generateSemanticInstanceStory
        //ModelCode: generateSemanticInstance
        GenerateSemanticInstanceStoryRespDto generateSemanticInstanceRes = null;
        GenerateSemanticInstanceStoryReqDto generateSemanticInstanceReq = new GenerateSemanticInstanceStoryReqDto();
        if (reqDto != null && reqDto.getFieldsNameAndValueToOneDatasList() != null && !CollectionUtil.isEmpty(reqDto.getFieldsNameAndValueToOneDatasList())) {
            generateSemanticInstanceReq.setFieldsNameAndValueToOneDatasList(reqDto.getFieldsNameAndValueToOneDatasList().stream().map(item -> BeanUtil.toBean(item, FieldsNameAndValueToOneDatasDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1452332_1
        }
        if (reqDto != null) {
            generateSemanticInstanceReq.setTemplateEngineTemplate(reqDto.getTemplateEngineTemplate());//SimpleFieldAssign//sourceId:1452357_1
        }

        /*M2生成语义实例故事[8240]  解析语义模板，生成模板实例 */
        Assert.isNull(generateSemanticInstanceReq.getTemplateEngineTemplate(), "D2生成语义实例(公共)-M2生成语义实例故事- 模板引擎内容模板不能为空", false);
        generateSemanticInstanceRes = nbTemplateEngine.generateSemanticInstanceStory(generateSemanticInstanceReq);


        generateSemanticInstanceRes_1 = generateSemanticInstanceRes;

        GenerateSemanticInstanceComRespDto retData = new GenerateSemanticInstanceComRespDto();
        if (generateSemanticInstanceRes_1 != null) {
            retData.setObjectName(generateSemanticInstanceRes_1.getObjectName());//SimpleFieldAssign//sourceId:1452337_1
        }


        return retData;
    }

    /**
     * D2分析账单流水业务故事(公共)[8431]
     * gen by moon at 2/4/2024, 1:40:05 AM
     */
    @Trace(operationName = "D2分析账单流水业务故事(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AnalysisBillStreamBizStoryComRespDto analysisBillStreamBizStoryCom(AnalysisBillStreamBizStoryComReqDto reqDto) {


        GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto_1 = null;
//virtualUsage M2约定预算加减语义引擎标识  60671
        //ModelCode: receptionService
        ImplementSmartSessionReceiveFieldInputRespDto receptionServiceRes = null;
        ImplementSmartSessionReceiveFieldInputReqDto receptionServiceReq = new ImplementSmartSessionReceiveFieldInputReqDto();
        receptionServiceReq.setCustomField1("CREATE_ADD_BUDGET_STORY");//CUSTOM_CONVENTION//sourceId:1524412_1_60671
        receptionServiceReq.setCustomField2("CREATE_SUBTRACT_BUDGET_STORY");//CUSTOM_CONVENTION//sourceId:1524413_1_60671

        /*M2约定预算加减语义引擎标识[8109]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getCustomField1(), "D2分析账单流水业务故事(公共)-M2约定预算加减语义引擎标识-自定义字段1不能为空", false);
        Assert.isNull(receptionServiceReq.getCustomField2(), "D2分析账单流水业务故事(公共)-M2约定预算加减语义引擎标识-自定义字段2不能为空", false);
        receptionServiceRes = nbTemplateEngine.implementSmartSessionReceiveFieldInput(receptionServiceReq);


        if ((reqDto != null && reqDto.getAddOrSubOptType() != null && reqDto.getAddOrSubOptType().equals("ADD"))) {
            //if(D2-查询账单流水业务故事详情(公共).加减操作类型 等于 加)  60669

            GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto = null;
            GenerateSemanticInstanceStoryComReqDto generateSemanticInstanceStoryComReqDto = new GenerateSemanticInstanceStoryComReqDto();
            generateSemanticInstanceStoryComReqDto.setFirstFieldName("cyclelAlias");//CUSTOM_CONVENTION//sourceId:1522661_1_60672
            if (receptionServiceRes != null) {
                generateSemanticInstanceStoryComReqDto.setTemplateSemanticEngineCode(receptionServiceRes.getCustomField1());//SimpleFieldAssign//sourceId:1522667_1_60672
            }
            if (reqDto != null) {
                generateSemanticInstanceStoryComReqDto.setFirstFieldValue(reqDto.getFirstFieldValue());//SimpleFieldAssign//sourceId:1522662_1_60672
            }

            /*D2生成语义实例故事(公共)[8234]   */
            Assert.isNull(generateSemanticInstanceStoryComReqDto.getTemplateSemanticEngineCode(), "D2分析账单流水业务故事(公共)-D2生成语义实例故事(公共)-模板引擎标识不能为空", false);
            Assert.isNull(generateSemanticInstanceStoryComReqDto.getFirstFieldName(), "D2分析账单流水业务故事(公共)-D2生成语义实例故事(公共)-第一个字段字段名不能为空", false);
            Assert.isNull(generateSemanticInstanceStoryComReqDto.getFirstFieldValue(), "D2分析账单流水业务故事(公共)-D2生成语义实例故事(公共)-第一个字段字段值不能为空", false);
            generateSemanticInstanceStoryComRespDto = generateSemanticInstanceStoryCom(generateSemanticInstanceStoryComReqDto)/*vcase invoke 同服务,同domain*/;


            generateSemanticInstanceStoryComRespDto_1 = generateSemanticInstanceStoryComRespDto;
        } else if ((reqDto != null && reqDto.getAddOrSubOptType() != null && reqDto.getAddOrSubOptType().equals("SUB"))) {
            //elseif(D2-查询账单流水业务故事详情(公共).加减操作类型 等于 减)  60670

            GenerateSemanticInstanceStoryComRespDto generateSemanticInstanceStoryComRespDto_2 = null;
            GenerateSemanticInstanceStoryComReqDto generateSemanticInstanceStoryComReqDto_1 = new GenerateSemanticInstanceStoryComReqDto();
            generateSemanticInstanceStoryComReqDto_1.setFirstFieldName("cyclelAlias");//CUSTOM_CONVENTION//sourceId:1522661_1_60673
            if (receptionServiceRes != null) {
                generateSemanticInstanceStoryComReqDto_1.setTemplateSemanticEngineCode(receptionServiceRes.getCustomField2());//SimpleFieldAssign//sourceId:1522667_1_60673
            }
            if (reqDto != null) {
                generateSemanticInstanceStoryComReqDto_1.setFirstFieldValue(reqDto.getFirstFieldValue());//SimpleFieldAssign//sourceId:1522662_1_60673
            }

            /*D2生成语义实例故事(公共)[8234]   */
            Assert.isNull(generateSemanticInstanceStoryComReqDto_1.getTemplateSemanticEngineCode(), "D2分析账单流水业务故事(公共)-D2生成语义实例故事(公共)-模板引擎标识不能为空", false);
            Assert.isNull(generateSemanticInstanceStoryComReqDto_1.getFirstFieldName(), "D2分析账单流水业务故事(公共)-D2生成语义实例故事(公共)-第一个字段字段名不能为空", false);
            Assert.isNull(generateSemanticInstanceStoryComReqDto_1.getFirstFieldValue(), "D2分析账单流水业务故事(公共)-D2生成语义实例故事(公共)-第一个字段字段值不能为空", false);
            generateSemanticInstanceStoryComRespDto_2 = generateSemanticInstanceStoryCom(generateSemanticInstanceStoryComReqDto_1)/*vcase invoke 同服务,同domain*/;


            generateSemanticInstanceStoryComRespDto_1 = generateSemanticInstanceStoryComRespDto_2;
        }
        AnalysisBillStreamBizStoryComRespDto retData = new AnalysisBillStreamBizStoryComRespDto();
        if (generateSemanticInstanceStoryComRespDto_1 != null) {
            retData.setObjectName(generateSemanticInstanceStoryComRespDto_1.getObjectName());//SimpleFieldAssign//sourceId:1524455_1
        }


        return retData;
    }
    //
}
